Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | osinfo: switch to '#pragma once' | Daniel P. Berrangé | 2022-01-18 | 1 | -8/+5 |
| | | | | | | | | | | | | | | | | The current include files use the pattern #ifndef __OOSINFO_BLAH_H__ # define __OOSINFO_BLAH_H__ #endif /* __OOSINFO_BLAH_H__ */ Since we already mandated GCC + CLang, we can replace this with a simpler incantation #pragma once Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> | ||||
* | Use gnulib's ignore-value.h to silence gcc | Christophe Fergeau | 2013-02-11 | 1 | -0/+47 |
osinfo_loader.c contains a few local hacks to avoid gcc warnings about set-but-not-read variables. While they are good to silence gcc, they also cause warnings from the Coverity checker. Use the ignore_value() macro from gnulib to avoid these warnings as they don't cause Coverity warnings. |