Author: tjansen Date: Wed Oct 21 17:57:02 2009 New Revision: 1267 Log: Removed unused variable. Modified: trunk/pisacd/cdmain.c Modified: trunk/pisacd/cdmain.c ============================================================================== --- trunk/pisacd/cdmain.c Wed Oct 21 17:48:19 2009 (r1266) +++ trunk/pisacd/cdmain.c Wed Oct 21 17:57:02 2009 (r1267) @@ -243,7 +243,6 @@ static inline void cd_do_main(void) { int maxfd; - int ret = 0; int pending = 0; fd_set readfds; @@ -265,7 +264,7 @@ FD_SET(cd_ctx.fd_pisaconf, &readfds); FD_SET(cd_ctx.scheduler.pipe_main[0], &readfds); - if ((ret = select(maxfd, &readfds, NULL, NULL, NULL)) > 0) { + if (select(maxfd, &readfds, NULL, NULL, NULL) > 0) { if (cd_ctx.is_cd_running) { if (FD_ISSET(cd_ctx.tunnel, &readfds)) pisa_cd_copy_from_tun_to_sock();