mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00: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:
parent
4803c855bb
commit
0259426060
@ -581,7 +581,7 @@ virStoragePoolFCRefreshThread(void *opaque)
|
|||||||
const char *name = cbdata->name;
|
const char *name = cbdata->name;
|
||||||
virStoragePoolObjPtr pool = cbdata->pool;
|
virStoragePoolObjPtr pool = cbdata->pool;
|
||||||
unsigned int host;
|
unsigned int host;
|
||||||
int found;
|
int found = 0;
|
||||||
int tries = 2;
|
int tries = 2;
|
||||||
|
|
||||||
do {
|
do {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user