From d4075b188d9834c9901639f517aebf38ee584ee0 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 22 Jun 2019 10:33:37 -0700 Subject: GLK: ALAN2: Further gcc warning fixes --- engines/glk/alan2/debug.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/glk/alan2/debug.cpp') diff --git a/engines/glk/alan2/debug.cpp b/engines/glk/alan2/debug.cpp index 96ce46cf13..b455db6930 100644 --- a/engines/glk/alan2/debug.cpp +++ b/engines/glk/alan2/debug.cpp @@ -296,8 +296,8 @@ void debug() { lin = 1; c = buf[0]; i = 0; - sscanf(&buf[1], "%d", &i); - } while (buf && c == '\0'); + (void)sscanf(&buf[1], "%d", &i); + } while (/*buf &&*/ c == '\0'); switch (toUpper(c)) { case 'H': -- cgit v1.2.3