vswitch: Mark bridge_update_desc argument as unused
authorJustin Pettit <jpettit@nicira.com>
Fri, 9 Apr 2010 00:53:58 +0000 (17:53 -0700)
committerJustin Pettit <jpettit@nicira.com>
Fri, 9 Apr 2010 00:53:58 +0000 (17:53 -0700)
The implementation of bridge_update_desc() is empty, which causes a
compiler warning for the argument.  Mark the argument unused until we
get a chance to fix the function's implementation.

vswitchd/bridge.c

index 5a64d86..620689f 100644 (file)
@@ -1291,7 +1291,7 @@ check_duplicate_ifaces(struct bridge *br, struct iface *iface, void *ifaces_)
 }
 
 static void
-bridge_update_desc(struct bridge *br)
+bridge_update_desc(struct bridge *br OVS_UNUSED)
 {
 #if 0
     bool changed = false;