fixed warning
authoreb <eb@221aa14e-8319-0410-a670-987f0aec2ac5>
Sat, 13 Jan 2007 03:22:46 +0000 (03:22 +0000)
committereb <eb@221aa14e-8319-0410-a670-987f0aec2ac5>
Sat, 13 Jan 2007 03:22:46 +0000 (03:22 +0000)
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@4254 221aa14e-8319-0410-a670-987f0aec2ac5

usrp/host/apps/usrper.cc

index d70128480344c27f31be6aa6d8e9be7fdc8f4661..8216d79697b62c8859869f42b87b21f596c3576a 100644 (file)
@@ -298,7 +298,7 @@ main (int argc, char **argv)
   else if (strcmp (cmd, "i2c_write") == 0){
     CHKARGS (2);
     int        i2c_addr = strtol (argv[optind], 0, 0);
-    int        len;
+    int        len = 0;
     char *hex_string  = argv[optind + 1];
     unsigned char *buf = hex_string_to_binary (hex_string, &len);
     if (buf == 0)