diff options
author | James Lee <49257044+juria90@users.noreply.github.com> | 2023-02-13 05:49:44 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-13 13:49:44 +0000 |
commit | 95cbb3d908175ccd855078b3fab7f99e7d0bca88 (patch) | |
tree | 96a1a8ea7aa2c65a140e6fbfb2ea8510c917fd93 /Python/fileutils.c | |
parent | 2db2c4b45501eebef5b3ff89118554bd5eb92ed4 (diff) | |
download | cpython-git-95cbb3d908175ccd855078b3fab7f99e7d0bca88.tar.gz |
gh-101810: Remove duplicated st_ino calculation (GH-101811)
Diffstat (limited to 'Python/fileutils.c')
-rw-r--r-- | Python/fileutils.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/fileutils.c b/Python/fileutils.c index 244bd899b3..22b2257a56 100644 --- a/Python/fileutils.c +++ b/Python/fileutils.c @@ -1162,8 +1162,6 @@ _Py_fstat_noraise(int fd, struct _Py_stat_struct *status) } _Py_attribute_data_to_stat(&info, 0, status); - /* specific to fstat() */ - status->st_ino = (((uint64_t)info.nFileIndexHigh) << 32) + info.nFileIndexLow; return 0; #else return fstat(fd, status); |