summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2006-01-03 19:46:48 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2006-01-03 19:46:48 +0000
commit2d58eee5901e866fe994c19d38d9dca3383fab37 (patch)
treed048ccd20e3b479ce3f735e2f63372a3387a94f8 /src/main.cpp
parent65ef705d73144167aa6e3eeef87fd55a691fc9e0 (diff)
downloadmana-2d58eee5901e866fe994c19d38d9dca3383fab37.tar.gz
mana-2d58eee5901e866fe994c19d38d9dca3383fab37.tar.bz2
mana-2d58eee5901e866fe994c19d38d9dca3383fab37.tar.xz
mana-2d58eee5901e866fe994c19d38d9dca3383fab37.zip
Fixed a compile warning with GCC 4.1. Thanks to gim's suggestion.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
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) {