[netperf-dev] netperf2 commit notice r568 - trunk/src

raj at netperf.org raj at netperf.org
Fri Apr 27 11:33:51 PDT 2012


Author: raj
Date: 2012-04-27 11:33:51 -0700 (Fri, 27 Apr 2012)
New Revision: 568

Modified:
   trunk/src/netlib.c
Log:
 see about quelling a seemingly bogus warning when compiling under windows 

Modified: trunk/src/netlib.c
===================================================================
--- trunk/src/netlib.c	2012-04-25 19:26:24 UTC (rev 567)
+++ trunk/src/netlib.c	2012-04-27 18:33:51 UTC (rev 568)
@@ -3921,6 +3921,9 @@
 
   switch (demo_mode) {
   case 0:
+    /* for some reason, Microsoft's DDK/WDK compiler does not like an
+       empty case so do something with no side effects */
+    emit_output = 0;
     return;
   case 1: /* use the unit accumulation first */
     units_this_tick += units;



More information about the netperf-dev mailing list