summaryrefslogtreecommitdiff
path: root/src/test/test-architecture.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test-architecture.c')
-rw-r--r--src/test/test-architecture.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/test-architecture.c b/src/test/test-architecture.c
index 24217ad369..30bdec45e5 100644
--- a/src/test/test-architecture.c
+++ b/src/test/test-architecture.c
@@ -25,9 +25,8 @@
#include "log.h"
int main(int argc, char *argv[]) {
- Architecture a;
- int v;
const char *id = NULL;
+ int a, v;
v = detect_virtualization(&id);
if (v == -EPERM || v == -EACCES)