Skip to content

Uninitialized return value of closedir() - #158

Open
rosenrost wants to merge 1 commit into
freemint:masterfrom
rosenrost:fix/uninitialized-return-value-of-closedir
Open

rosenrost wants to merge 1 commit into
freemint:masterfrom
rosenrost:fix/uninitialized-return-value-of-closedir

Conversation

@rosenrost

@rosenrost rosenrost commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

closedir() returned the never assigned local variable r, so callers checking for success got a random result.

closedir() returned the never assigned local variable r, so callers
checking for success got a random result. Return 0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant