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

couple of warnings on clang #11

Closed
sanga opened this issue Dec 4, 2014 · 2 comments
Closed

couple of warnings on clang #11

sanga opened this issue Dec 4, 2014 · 2 comments

Comments

@sanga
Copy link
Contributor

sanga commented Dec 4, 2014

Could be (probably spurious) but for the sake of clean build output it'd be nice to fix them:

omcache.c:1021:33: warning: missing field 'key' initializer [-Wmissing-field-initializers]
      omcache_value_t value = {0};
                                ^
omcache.c:1539:29: warning: missing field 'key' initializer [-Wmissing-field-initializers]
  omcache_value_t value = {0};
@saaros
Copy link
Member

saaros commented Dec 4, 2014

These are spurious warnings, gcc 4.9 doesn't emit them. I don't know what would be a clean way of fixing them for earlier versions without disabling the warning entirely.

@sanga
Copy link
Contributor Author

sanga commented Dec 4, 2014

OK

@sanga sanga closed this as completed Dec 4, 2014
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