Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3 minor cleanups in ext/session (#10722)
* sid can never be NULL because it was NULL-checked earlier * Change namelen to size_t because it is always unsigned and less in size than size_t * Remove redundant check on ser It can't be NULL, and even if it could, the ser++ would be UB.
- Loading branch information
Showing
2 changed files
with
5 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters