summaryrefslogtreecommitdiff
path: root/ifpps.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-10-02 08:17:23 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-10-02 08:17:23 +0200
commitd94e3725ecb2282d802e1241df4e491cc7da6720 (patch)
tree7ef785a687d69d8eb4dc9952326a6c7c74f327c6 /ifpps.c
parent1d578a532ac87ede90c01b6a3eb8a8c74eca4787 (diff)
ifpps: Mark omit_header parameter to screen_main() as unused
Otherwise we get a warning when compiling with "-W -Wall". Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'ifpps.c')
-rw-r--r--ifpps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ifpps.c b/ifpps.c
index 02bb6af..1cdd9b1 100644
--- a/ifpps.c
+++ b/ifpps.c
@@ -1122,7 +1122,7 @@ static void screen_update(WINDOW *screen, const char *ifname, const struct ifsta
static int screen_main(const char *ifname, uint64_t ms_interval,
unsigned int top_cpus, bool suppress_warnings,
- bool omit_header)
+ bool omit_header __maybe_unused)
{
int first = 1, key;
u32 rate = device_bitrate(ifname);