mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Fix misc compile warnings
This commit is contained in:
@@ -329,10 +329,7 @@ int virtTestMain(int argc,
|
||||
int oomCount;
|
||||
|
||||
if ((debugStr = getenv("VIR_TEST_DEBUG")) != NULL) {
|
||||
if (virStrToLong_i(debugStr, NULL, 10, &testDebug) < 0)
|
||||
testDebug = 0;
|
||||
|
||||
if (testDebug < 0)
|
||||
if (virStrToLong_ui(debugStr, NULL, 10, &testDebug) < 0)
|
||||
testDebug = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user