fix aarch64 compile error due to undefined variable

fixes #36

Signed-off-by: Timo Teräs <timo.teras@iki.fi>
This commit is contained in:
Timo Teräs 2017-01-10 09:51:32 +02:00
parent d00f237d78
commit b0f77c10fc

View file

@ -148,6 +148,9 @@ GList* collect_full_irq_list()
char *line = NULL;
size_t size = 0;
char *irq_name, *irq_mod, *savedptr, *last_token, *p;
#ifdef AARCH64
char *tmp;
#endif
file = fopen("/proc/interrupts", "r");
if (!file)