mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
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.
This commit is contained in:
@@ -127,6 +127,8 @@ int hexit_value(int c);
|
||||
|
||||
char *dir_name(const char *file_name);
|
||||
|
||||
void ignore(bool x UNUSED);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user