[hipl-commit] [trunk] Rev 3633: Added default error value to hip_iproute_modify().

  • From: Miika Komu <miika@xxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Mon, 15 Feb 2010 13:49:37 +0200

Committer: Miika Komu <miika@xxxxxx>
Date: Mon Feb 15 13:49:59 2010 +0200
Revision: 3633
Revision-id: miika@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Added default error value to hip_iproute_modify().

Modified:
  M  lib/tool/nlink.c

=== modified file 'lib/tool/nlink.c'
--- lib/tool/nlink.c    2010-02-14 15:05:22 +0000
+++ lib/tool/nlink.c    2010-02-15 11:49:59 +0000
@@ -721,7 +721,7 @@
     } req1;
     inet_prefix dst;
     struct idxmap *idxmap[16];
-    int dst_ok = 0, err;
+    int dst_ok = 0, err = 0;
     int idx, i;
 
     memset(&req1, 0, sizeof(req1));

Other related posts:

  • » [hipl-commit] [trunk] Rev 3633: Added default error value to hip_iproute_modify(). - Miika Komu