diff options
author | Chris Leech <cleech@redhat.com> | 2019-10-30 12:11:42 -0700 |
---|---|---|
committer | Chris Leech <cleech@redhat.com> | 2019-10-31 15:48:08 -0700 |
commit | 65c06d977a012541fd6144d4452f5191081fdd44 (patch) | |
tree | b1c380f0e0e245ad66f62b97bee5779bd2933621 | |
parent | aa0e934c3513ca8fac9de463e328b5a150d057f5 (diff) | |
download | open-iscsi-65c06d977a012541fd6144d4452f5191081fdd44.tar.gz |
Uninitialized scalar variable
-rw-r--r-- | usr/host.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -217,7 +217,7 @@ static int print_host_iface(void *data, struct iface_rec *iface) static void print_host_ifaces(struct host_info *hinfo, char *prefix) { - int nr_found; + int nr_found = 0; iscsi_sysfs_for_each_iface_on_host(prefix, hinfo->host_no, &nr_found, print_host_iface); |