Skip to content

Commit 34e1917

Browse files
authored
gh-106242: Minor fixup to avoid compiler warnings (GH-107983)
1 parent 971a4c2 commit 34e1917

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/fileutils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2383,7 +2383,7 @@ wchar_t *
23832383
_Py_normpath_and_size(wchar_t *path, Py_ssize_t size, Py_ssize_t *normsize)
23842384
{
23852385
assert(path != NULL);
2386-
if (!path[0] && size < 0 || size == 0) {
2386+
if ((size < 0 && !path[0]) || size == 0) {
23872387
*normsize = 0;
23882388
return path;
23892389
}

0 commit comments

Comments
 (0)