Core&Tools: Fix multiple issues found by a static code coverage tool

This commit is contained in:
Nay
2013-08-24 22:56:29 +01:00
parent 61016dcc66
commit 12973de799
23 changed files with 93 additions and 47 deletions

View File

@@ -5,9 +5,8 @@
int main(int argc, char* argv[])
{
if(argc != 3)
if (argc != 3)
{
//printf("\nusage: %s <raw data dir> <vmap dest dir> [config file name]\n", argv[0]);
std::cout << "usage: " << argv[0] << " <raw data dir> <vmap dest dir>" << std::endl;
return 1;
}
@@ -19,7 +18,7 @@ int main(int argc, char* argv[])
VMAP::TileAssembler* ta = new VMAP::TileAssembler(src, dest);
if(!ta->convertWorld2())
if (!ta->convertWorld2())
{
std::cout << "exit with errors" << std::endl;
delete ta;