From: eb Date: Sat, 13 Jan 2007 03:22:46 +0000 (+0000) Subject: fixed warning X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=90347f36e4087cb2136096c9f1f43c0cb629dcb0;p=debian%2Fgnuradio fixed warning git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@4254 221aa14e-8319-0410-a670-987f0aec2ac5 --- diff --git a/usrp/host/apps/usrper.cc b/usrp/host/apps/usrper.cc index d7012848..8216d796 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)