summaryrefslogtreecommitdiff
path: root/osinfo/ignore-value.h
Commit message (Collapse)AuthorAgeFilesLines
* osinfo: switch to '#pragma once'Daniel P. Berrangé2022-01-181-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 gccChristophe Fergeau2013-02-111-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.