From 248fab742d2b61557de93ac6e422986a8858bf52 Mon Sep 17 00:00:00 2001 From: Thomas Hindoe Paaboel Andersen Date: Sun, 23 Feb 2014 22:05:18 +0100 Subject: virt: make Virtualization an anonymous enum This makes llvm happy when we assign an error code to the variable. --- src/detect-virt/detect-virt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/detect-virt') diff --git a/src/detect-virt/detect-virt.c b/src/detect-virt/detect-virt.c index 2f8b0ebbbc..8cf8dcfabc 100644 --- a/src/detect-virt/detect-virt.c +++ b/src/detect-virt/detect-virt.c @@ -129,7 +129,7 @@ int main(int argc, char *argv[]) { switch (arg_mode) { case ANY_VIRTUALIZATION: { - Virtualization v; + int v; v = detect_virtualization(&id); if (v < 0) { -- cgit v1.2.3-54-g00ecf