Fix uninitialized variable causing false returns
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
This commit is contained in:
parent
8dffcbd726
commit
decab46dda
@ -65,7 +65,7 @@ do_lq_request(const char *vm_name, const char *action)
|
|||||||
SessionManager::NameVector names;
|
SessionManager::NameVector names;
|
||||||
Object::Vector domains;
|
Object::Vector domains;
|
||||||
Object *domain = NULL;
|
Object *domain = NULL;
|
||||||
unsigned i, tries, found;
|
unsigned i, tries = 0, found = 0;
|
||||||
|
|
||||||
cs.host = "127.0.0.1";
|
cs.host = "127.0.0.1";
|
||||||
cs.port = 5672;
|
cs.port = 5672;
|
||||||
|
Loading…
Reference in New Issue
Block a user