From 90347f36e4087cb2136096c9f1f43c0cb629dcb0 Mon Sep 17 00:00:00 2001 From: eb Date: Sat, 13 Jan 2007 03:22:46 +0000 Subject: [PATCH] fixed warning git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@4254 221aa14e-8319-0410-a670-987f0aec2ac5 --- usrp/host/apps/usrper.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.47.2