]> rtime.felk.cvut.cz Git - pes-rpp/rpp-test-sw.git/commitdiff
Compilation warnings in netstats repaired
authorMichal Horn <hornmich@fel.cvut.cz>
Tue, 17 Sep 2013 12:55:04 +0000 (14:55 +0200)
committerMichal Horn <hornmich@fel.cvut.cz>
Tue, 17 Sep 2013 12:55:04 +0000 (14:55 +0200)
rpp-test-sw/commands/cmd_netstats.c

index cd12f7a6a7c384387096e7d66b01005965216054..3733dcb9a92ba0cb4a670ee29e4b81e9e9e6496c 100644 (file)
@@ -250,7 +250,10 @@ int cmd_do_bufferdescriptors(cmd_io_t *cmd_io, const struct cmd_des *des, char *
     uint8_t pindex;
        uint8_t input;
        volatile struct emac_tx_bd *bufferDescriptor;
-       boolean_t run = TRUE, interactive = FALSE, overview = FALSE, isrRun = FALSE, rb = FALSE, tb = FALSE;
+       boolean_t run = TRUE, interactive = FALSE, overview = FALSE;
+#if RPP_ETH_STATS
+       boolean_t isrRun = FALSE, rb = FALSE, tb = FALSE;
+#endif
 
        /* if eth not initialized return */
        if(!isPostInitialized())