]> rtime.felk.cvut.cz Git - sojka/can-utils.git/blobdiff - isotpserver.c
removed unused variable warnings by removing the variables
[sojka/can-utils.git] / isotpserver.c
index 5082d128bdeaaca626e3672afc0bc41d9e03c3cd..bded0f4f3bb2923620c2cbc5c874b210a08c3363 100644 (file)
@@ -56,7 +56,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
  * DAMAGE.
  *
- * Send feedback to <socketcan-users@lists.berlios.de>
+ * Send feedback to <linux-can@vger.kernel.org>
  *
  */
 
@@ -146,7 +146,7 @@ int main(int argc, char **argv)
 
        fd_set readfds;
 
-       int i, ret;
+       int i;
        int nbytes;
 
        int local_port = 0;
@@ -322,7 +322,7 @@ int main(int argc, char **argv)
                FD_SET(sc, &readfds);
                FD_SET(sa, &readfds);
 
-               ret = select((sc > sa)?sc+1:sa+1, &readfds, NULL, NULL, NULL);
+               select((sc > sa)?sc+1:sa+1, &readfds, NULL, NULL, NULL);
 
                if (FD_ISSET(sc, &readfds)) {