Fix compiler warnings which pop-ed up thanks to https://sourceforge.net/p/ipmitool/bugs/354/
There are at least two ways to fix ``missing braces around initializer''.
One is to ignore it, resp. use different version of GCC. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119
Use memset() instead of struct foo_t bar = {0}. Patch attached just in case we decide to use it later.
memset()
struct foo_t bar = {0}
We're down to ~ 2k lines of warnings which is good/progress. But cleaning up everything will have to wait for another release.
Down to 1.2k with gcc bundled in Debian Jessie.
Log in to post a comment.
There are at least two ways to fix ``missing braces around initializer''.
One is to ignore it, resp. use different version of GCC. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119
Use
memset()instead ofstruct foo_t bar = {0}. Patch attached just in case we decide to use it later.We're down to ~ 2k lines of warnings which is good/progress. But cleaning up everything will have to wait for another release.
Down to 1.2k with gcc bundled in Debian Jessie.