Skip to content
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

-Wsometimes-uninitialized warnings: variable 'r' is used uninitialized whenever switch case is taken #46

Closed
cpeterso opened this issue Mar 28, 2017 · 1 comment

Comments

@cpeterso
Copy link

I see the following clang warnings when compiling Firefox with Xcode 8.3's clang version:

media/libnestegg/src/nestegg.c:1077:8 [-Wsometimes-uninitialized] variable 'r' is used uninitialized whenever switch case is taken
media/libnestegg/src/nestegg.c:1078:8 [-Wsometimes-uninitialized] variable 'r' is used uninitialized whenever switch case is taken
@kinetiknz
Copy link
Collaborator

We added a workaround for this in 4b0190a and then removed it again in b74db1c because Clang's static analysis starting complaining about it, although restoring 4b0190a doesn't cause it to complain locally now.

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

No branches or pull requests

2 participants