[pisa-src] r1229 - trunk/pisacd/cdmain.c

  • From: Thomas Jansen <mithi@xxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Mon, 19 Oct 2009 13:02:48 +0200

Author: tjansen
Date: Mon Oct 19 13:02:48 2009
New Revision: 1229

Log:
Removed unused variable.

Modified:
   trunk/pisacd/cdmain.c

Modified: trunk/pisacd/cdmain.c
==============================================================================
--- trunk/pisacd/cdmain.c       Mon Oct 19 13:02:16 2009        (r1228)
+++ trunk/pisacd/cdmain.c       Mon Oct 19 13:02:48 2009        (r1229)
@@ -338,14 +338,11 @@
  */
 static inline void cd_do_main(void)
 {
-       struct sockaddr_in from_addr;
        int maxfd = 0;
        int ret = 0;
        int pending = 0;
        fd_set readfds;
 
-       memset(&from_addr, 0, sizeof(struct sockaddr_in));
-
 #ifdef REMOVE_PREAUTH_CODE
        cd_ctx.is_scanning = TRUE;
 #endif /* REMOVE_PREAUTH_CODE */

Other related posts:

  • » [pisa-src] r1229 - trunk/pisacd/cdmain.c - Thomas Jansen