summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreb2007-01-13 03:22:46 +0000
committereb2007-01-13 03:22:46 +0000
commit90347f36e4087cb2136096c9f1f43c0cb629dcb0 (patch)
tree7e33a9814ee1cbf60cf2cd4b5a3136578881b8df
parentbe578090e070010c608d3fc06599e23be7fc70dd (diff)
downloadgnuradio-90347f36e4087cb2136096c9f1f43c0cb629dcb0.tar.gz
gnuradio-90347f36e4087cb2136096c9f1f43c0cb629dcb0.tar.bz2
gnuradio-90347f36e4087cb2136096c9f1f43c0cb629dcb0.zip
fixed warning
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@4254 221aa14e-8319-0410-a670-987f0aec2ac5
-rw-r--r--usrp/host/apps/usrper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/usrp/host/apps/usrper.cc b/usrp/host/apps/usrper.cc
index d70128480..8216d7969 100644
--- a/usrp/host/apps/usrper.cc
+++ b/usrp/host/apps/usrper.cc
@@ -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)