Skip to content

Commit 95cbb3d

Browse files
authored
gh-101810: Remove duplicated st_ino calculation (GH-101811)
1 parent 2db2c4b commit 95cbb3d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Python/fileutils.c

-2
Original file line numberDiff line numberDiff line change
@@ -1162,8 +1162,6 @@ _Py_fstat_noraise(int fd, struct _Py_stat_struct *status)
11621162
}
11631163

11641164
_Py_attribute_data_to_stat(&info, 0, status);
1165-
/* specific to fstat() */
1166-
status->st_ino = (((uint64_t)info.nFileIndexHigh) << 32) + info.nFileIndexLow;
11671165
return 0;
11681166
#else
11691167
return fstat(fd, status);

0 commit comments

Comments
 (0)