diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | src/main.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -5,6 +5,7 @@ when logging in and banned. * src/game.cpp, src/gui/chat.cpp, src/gui/chat.h, src/net/protocol.h: Enabled some /commands. + * src/main.cpp: Fixed a compile warning with GCC 4.1. 2006-01-02 Eugenio Favalli <elvenprogrammer@gmail.com> diff --git a/src/main.cpp b/src/main.cpp index 9d5c628c..0a126afb 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -363,7 +363,7 @@ void parseOptions(int argc, char *argv[], Options &options) { "username", required_argument, 0, 'U' }, { "password", required_argument, 0, 'P' }, { "default", no_argument, 0, 'D' }, - 0 + { 0 } }; while (optind < argc) { |