Skip to content

gh-101810: Remove duplicated st_ino calculation#101811

Merged
zooba merged 1 commit intopython:mainfrom
juria90:patch-1
Feb 13, 2023
Merged

gh-101810: Remove duplicated st_ino calculation#101811
zooba merged 1 commit intopython:mainfrom
juria90:patch-1

Conversation

@juria90
Copy link
Contributor

@juria90 juria90 commented Feb 10, 2023

The deleted status->st_ino = (((uint64_t)info.nFileIndexHigh) << 32) + info.nFileIndexLow; is already calculated and assigned in the function _Py_attribute_data_to_stat(). So removing the duplicated code.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants