diff options
author | Paul Gilbert | 2019-06-22 10:33:37 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-06-22 14:40:50 -0700 |
commit | d4075b188d9834c9901639f517aebf38ee584ee0 (patch) | |
tree | f98e241b5e992ca0208192a2b8b1cb7ca31c4199 /engines/glk/alan2/debug.cpp | |
parent | 8b509bbfee6d9c82d8f05e569f61f5781917cbda (diff) | |
download | scummvm-rg350-d4075b188d9834c9901639f517aebf38ee584ee0.tar.gz scummvm-rg350-d4075b188d9834c9901639f517aebf38ee584ee0.tar.bz2 scummvm-rg350-d4075b188d9834c9901639f517aebf38ee584ee0.zip |
GLK: ALAN2: Further gcc warning fixes
Diffstat (limited to 'engines/glk/alan2/debug.cpp')
-rw-r--r-- | engines/glk/alan2/debug.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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': |