]> git.tdb.fi Git - libs/core.git/commitdiff
Fix a gcc 4.3 style warning
authorMikko Rasa <tdb@tdb.fi>
Tue, 24 Jun 2008 14:24:46 +0000 (14:24 +0000)
committerMikko Rasa <tdb@tdb.fi>
Tue, 24 Jun 2008 14:24:46 +0000 (14:24 +0000)
source/core/getopt.cpp

index 67c4d4171d1ada94d8077f461175c40878fed669..e4f00ffceeeda967d8c16357a32269c1dbe77634 100644 (file)
@@ -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));