-
Notifications
You must be signed in to change notification settings - Fork 3k
fix compiler warning #6018
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix compiler warning #6018
Conversation
…eSystem::dir_seek()
User not whitelisted, CI not run. |
/morph build |
Build : SUCCESSBuild number : 1084 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 761 |
Test : SUCCESSBuild number : 891 |
Thanks for the pr! The conditions in dir_seek are handling two different cases:
It's an interesting case of reusing as much code as possible to keep the code footprint small. Does that help clarify things? |
Yes, thanks! I think my confusion stemmed from figuring that ...This PR should stay open until someone merges it, right? (Just checking, since I have the option to close it.) |
@geky Approved? |
Ah my bad, I forgot to click the approve button. Only open prs are candidates for being merged. Closing a pr is the same as saying you don't want the pr merged. Although it's easy to reopen closed prs and issues. Thinking about it, offset is kinda a funny name, but the name comes from the fact that it's an offset from the start of the file/directory. |
Resolves the compiler warnings first mentioned here:
I don't actually understand how
dir_seek()
is doing its job, though. Can someone explain?