summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-02-23 22:05:18 +0100
committerLennart Poettering <lennart@poettering.net>2014-02-24 13:26:44 +0100
commit248fab742d2b61557de93ac6e422986a8858bf52 (patch)
tree3d7fd35295b3bb7d5203733fdab221ae5e223686 /src/test
parentf8901862b2b030921b3d5aba4157044ceab16451 (diff)
virt: make Virtualization an anonymous enum
This makes llvm happy when we assign an error code to the variable.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test-architecture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-architecture.c b/src/test/test-architecture.c
index b586c0da5d..7e171c7bbc 100644
--- a/src/test/test-architecture.c
+++ b/src/test/test-architecture.c
@@ -26,7 +26,7 @@
int main(int argc, char *argv[]) {
Architecture a;
- Virtualization v;
+ int v;
const char *id = NULL;
v = detect_virtualization(&id);