From: Mikko Rasa Date: Tue, 24 Jun 2008 14:24:46 +0000 (+0000) Subject: Fix a gcc 4.3 style warning X-Git-Tag: 1.0~6 X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=commitdiff_plain;h=0fe166c896d2b7d7214e0c9c4add53e47d2ace88 Fix a gcc 4.3 style warning --- diff --git a/source/core/getopt.cpp b/source/core/getopt.cpp index 67c4d41..e4f00ff 100644 --- a/source/core/getopt.cpp +++ b/source/core/getopt.cpp @@ -150,7 +150,7 @@ unsigned GetOpt::process_long(const char *const *argp) // See if the argument contains an = unsigned equals=0; - for(; arg[equals] && arg[equals]!='='; ++equals); + for(; arg[equals] && arg[equals]!='='; ++equals) ; OptBase &opt=get_option(string(arg, equals));