diff options
author | Stijn Buys <ingar@osirion.org> | 2015-10-04 12:08:38 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2015-10-04 12:08:38 +0000 |
commit | 44405ef0f1b811cc0c2f18bbe24c34f37f288388 (patch) | |
tree | 2dbefdc3a605fdbeb2cf7c1a83a5a28aa9b8d7b0 | |
parent | 2a6063155ae7047e9a77bfc6471153b369ca2e39 (diff) |
Corrected a compiler warning when buildling without ncurses, reported by mega.
-rw-r--r-- | src/dedicated/console.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dedicated/console.cc b/src/dedicated/console.cc index 7986f2e..0e30262 100644 --- a/src/dedicated/console.cc +++ b/src/dedicated/console.cc @@ -35,13 +35,13 @@ namespace dedicated bool console_initialized = false; bool console_updated = false; - -const size_t MAXHISTOLINES = 512; float prev_time = 0; Console server_console; #ifdef HAVE_CURSES WINDOW *stdwin; + +const size_t MAXHISTOLINES = 512; #endif Console *console() |