1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-02-04 21:47:16 +03:00

storage: Resolve Coverity UNINIT

commit id '1e13eff4' didn't init found when changed from a bool to
an int in virStoragePoolFCRefreshThread and Coverity...
This commit is contained in:
John Ferlan 2015-04-24 13:57:30 -04:00
parent 4803c855bb
commit 0259426060

View File

@ -581,7 +581,7 @@ virStoragePoolFCRefreshThread(void *opaque)
const char *name = cbdata->name;
virStoragePoolObjPtr pool = cbdata->pool;
unsigned int host;
int found;
int found = 0;
int tries = 2;
do {