assert() is forbidden in libvirt code, and these two cases would
in fact never execute due to earlier error checks.
* src/libvirt.c: Remove assert() usage
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
-#include <assert.h>
#include <sys/wait.h>
#include <time.h>
#include <gcrypt.h>
}
if (uri_out)
uri = uri_out; /* Did domainMigratePrepare change URI? */
- assert (uri != NULL);
/* Perform the migration. The driver isn't supposed to return
* until the migration is complete.
}
if (uri_out)
uri = uri_out; /* Did domainMigratePrepare2 change URI? */
- assert (uri != NULL);
/* Perform the migration. The driver isn't supposed to return
* until the migration is complete.