summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--src/main.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 72d1115b..81cb37c0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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) {