socket-util: Make inet_open_passive() pass back the bound address.
[openvswitch] / lib / util.c
index 65cb36087dc71e752e68d4cde17698aae940870a..e9284809e34bbd956a0b892f67e188a97e70a95b 100644 (file)
@@ -383,3 +383,9 @@ dir_name(const char *file_name)
         return xmemdup0(file_name, len);
     }
 }
+
+/* Pass a value to this function if it is marked with
+ * __attribute__((warn_unused_result)) and you genuinely want to ignore 
+ * its return value.  (Note that every scalar type can be implicitly 
+ * converted to bool.) */
+void ignore(bool x UNUSED) { }