mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
With --without-xen, avoid warning about unused function.
* tests/statstest.c (testQuietError) [!WITH_XEN]: Don't define.
This commit is contained in:
1 parent
9bcade46df
commit
bdbce64bab
2 files changed
+9
-1
No files matched your search
+4
-1
@@ -7,10 +7,13 @@
|
||||
#include "stats_linux.h"
|
||||
#include "internal.h"
|
||||
|
||||
static void testQuietError(void *userData ATTRIBUTE_UNUSED, virErrorPtr error ATTRIBUTE_UNUSED)
|
||||
#if WITH_XEN
|
||||
static void testQuietError(void *userData ATTRIBUTE_UNUSED,
|
||||
virErrorPtr error ATTRIBUTE_UNUSED)
|
||||
{
|
||||
/* nada */
|
||||
}
|
||||
#endif
|
||||
|
||||
#if __linux__ && WITH_XEN
|
||||
static int testDevice(const char *path, int expect)
|
||||
|
||||
Reference in new issue
Block a user