From bea649d0451271eda60aadff6040c3e6a9899a3f Mon Sep 17 00:00:00 2001 From: Chaplain Date: Thu, 1 Sep 2011 22:38:32 +0300 Subject: Core: cleanup. *remove some garbage *little bit moore const func *fix process of args in vmap3_extractor --- src/tools/vmap3_extractor/vmapexport.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'src/tools') diff --git a/src/tools/vmap3_extractor/vmapexport.cpp b/src/tools/vmap3_extractor/vmapexport.cpp index 2be03d85d97..689691e1d91 100644 --- a/src/tools/vmap3_extractor/vmapexport.cpp +++ b/src/tools/vmap3_extractor/vmapexport.cpp @@ -379,17 +379,16 @@ bool processArgv(int argc, char ** argv, const char *versionString) { bool result = true; hasInputPathParam = false; - bool preciseVectorData = false; - for(int i=1; i< argc; ++i) + for (int i=1; i < argc; ++i) { - if(strcmp("-s",argv[i]) == 0) + if (strcmp("-s", argv[i]) == 0) { preciseVectorData = false; } - else if(strcmp("-d",argv[i]) == 0) + else if (strcmp("-d", argv[i]) == 0) { - if((i+1)