[pisa-src] r1276 - trunk/pisabeacon/beaconmain.c

Author: biurrun
Date: Thu Oct 22 13:11:55 2009
New Revision: 1276

Log:
Remove unused variable, fixes the warning:
pisabeacon/beaconmain.c:118: warning: unused variable `err'

Modified:
   trunk/pisabeacon/beaconmain.c

Modified: trunk/pisabeacon/beaconmain.c
==============================================================================
--- trunk/pisabeacon/beaconmain.c       Thu Oct 22 13:07:11 2009        (r1275)
+++ trunk/pisabeacon/beaconmain.c       Thu Oct 22 13:11:55 2009        (r1276)
@@ -114,9 +114,6 @@
        /* addr and port are already set by init */
        ctx.bc_addr.sin_family = AF_INET;
        
-       /* error code for system call */
-       int err;
-
        if (ctx.mode == PLB_SENDER) {
                /* Sender mode: send broadcasts */
 

Other related posts:

  • » [pisa-src] r1276 - trunk/pisabeacon/beaconmain.c - Diego Biurrun