From c793672d633637c6e01a889f6eaa37a34032234c Mon Sep 17 00:00:00 2001 From: DennisOSRM Date: Wed, 8 Feb 2012 10:35:59 +0100 Subject: [PATCH] Fixed problem with check of input parameter size in release mode. thx Dennis --- extractor.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extractor.cpp b/extractor.cpp index d3fb12931..ec4d106af 100644 --- a/extractor.cpp +++ b/extractor.cpp @@ -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] << " "); + if(argc < 2) { + ERR("usage: \n" << argv[0] << " "); + } //Check if another instance of stxxl is already running or if there is a general problem try {