commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r4254 - gnuradio/trunk/usrp/host/apps


From: eb
Subject: [Commit-gnuradio] r4254 - gnuradio/trunk/usrp/host/apps
Date: Fri, 12 Jan 2007 20:22:47 -0700 (MST)

Author: eb
Date: 2007-01-12 20:22:46 -0700 (Fri, 12 Jan 2007)
New Revision: 4254

Modified:
   gnuradio/trunk/usrp/host/apps/usrper.cc
Log:
fixed warning

Modified: gnuradio/trunk/usrp/host/apps/usrper.cc
===================================================================
--- gnuradio/trunk/usrp/host/apps/usrper.cc     2007-01-13 02:56:47 UTC (rev 
4253)
+++ gnuradio/trunk/usrp/host/apps/usrper.cc     2007-01-13 03:22:46 UTC (rev 
4254)
@@ -298,7 +298,7 @@
   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)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]