gh-106242: Minor fixup to avoid compiler warnings (GH-107983)
This commit is contained in:
@@ -2383,7 +2383,7 @@ wchar_t *
|
||||
_Py_normpath_and_size(wchar_t *path, Py_ssize_t size, Py_ssize_t *normsize)
|
||||
{
|
||||
assert(path != NULL);
|
||||
if (!path[0] && size < 0 || size == 0) {
|
||||
if ((size < 0 && !path[0]) || size == 0) {
|
||||
*normsize = 0;
|
||||
return path;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user