diff options
| author | Justin Pettit <jpettit@nicira.com> | 2009-12-14 23:08:10 -0800 |
|---|---|---|
| committer | Justin Pettit <jpettit@nicira.com> | 2009-12-15 00:14:32 -0800 |
| commit | 18b9283b986ab65f64385981f4ba8e237f658c0d (patch) | |
| tree | d3663370aa75177738ac493a69854e452a89cfc4 /lib/util.h | |
| parent | c100e025e2ca1bc330512e003bac8359ee65318d (diff) | |
| download | openvswitch-18b9283b986ab65f64385981f4ba8e237f658c0d.tar.gz | |
Clean-up compiler warnings about ignoring return values
Some systems complain when certain functions' return values are not
checked. This commit fixes those warnings.
Creating ignore() function suggested by Ben Pfaff.
Diffstat (limited to 'lib/util.h')
| -rw-r--r-- | lib/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/util.h b/lib/util.h index 9e7b88f06..0101bf7b5 100644 --- a/lib/util.h +++ b/lib/util.h @@ -127,6 +127,8 @@ int hexit_value(int c); char *dir_name(const char *file_name); +void ignore(bool x UNUSED); + #ifdef __cplusplus } #endif |
