From: Ben Pfaff Date: Thu, 8 Jan 2009 23:20:57 +0000 (-0800) Subject: Mark stubbed-out function parameter as UNUSED. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4cffcbd11c79fae54e36a39dcc935b4e9b3f53dc;p=openvswitch Mark stubbed-out function parameter as UNUSED. --- diff --git a/lib/queue.c b/lib/queue.c index 04610cfa..24eb01d7 100644 --- a/lib/queue.c +++ b/lib/queue.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2008 The Board of Trustees of The Leland Stanford +/* Copyright (c) 2008, 2009 The Board of Trustees of The Leland Stanford * Junior University * * We are making the OpenFlow specification and associated documentation @@ -34,6 +34,7 @@ #include #include "queue.h" #include +#include "compiler.h" #include "ofpbuf.h" static void check_queue(struct ofp_queue *q); @@ -114,7 +115,7 @@ queue_pop_head(struct ofp_queue *q) /* Checks the internal integrity of 'q'. For use in debugging. */ static void -check_queue(struct ofp_queue *q) +check_queue(struct ofp_queue *q UNUSED) { #if 0 struct ofpbuf *iter;