Fixed problem with check of input parameter size in release mode. thx

Dennis
This commit is contained in:
DennisOSRM 2012-02-08 10:35:59 +01:00
parent 5136853ce0
commit c793672d63

View File

@ -70,7 +70,9 @@ bool removeIfUnused(ClassT n) { return (false == n.used); }
int main (int argc, char *argv[]) {
GUARANTEE((argc > 1) ,"usage: \n" << argv[0] << " <file.osm/.osm.bz2/.osm.pbf>");
if(argc < 2) {
ERR("usage: \n" << argv[0] << " <file.osm/.osm.bz2/.osm.pbf>");
}
//Check if another instance of stxxl is already running or if there is a general problem
try {