mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
cleanup: Only include testutils.h once
No reason to include it in both "if" and "else" branches.
This commit is contained in:
1 parent
0cb171f60f
commit
2beae9c202
13 files changed
+26
-26
No files matched your search
+2
-2
@@ -1,5 +1,7 @@
|
||||
#include <config.h>
|
||||
|
||||
#include "testutils.h"
|
||||
|
||||
#ifdef WITH_VMX
|
||||
|
||||
# include <stdio.h>
|
||||
@@ -8,7 +10,6 @@
|
||||
|
||||
# include "internal.h"
|
||||
# include "viralloc.h"
|
||||
# include "testutils.h"
|
||||
# include "vmx/vmx.h"
|
||||
|
||||
static virCapsPtr caps;
|
||||
@@ -311,7 +312,6 @@ mymain(void)
|
||||
VIRT_TEST_MAIN(mymain)
|
||||
|
||||
#else
|
||||
# include "testutils.h"
|
||||
|
||||
int main(void)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user