From fde026c507b6562245d6d2495742c56d181cb3b4 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Wed, 28 Dec 2011 13:30:06 +0200 Subject: [PATCH] Allow empty net-router map --- projects/stargazer/plugins/other/rscript/rscript.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/projects/stargazer/plugins/other/rscript/rscript.cpp b/projects/stargazer/plugins/other/rscript/rscript.cpp index c9fcc549..3a557a30 100644 --- a/projects/stargazer/plugins/other/rscript/rscript.cpp +++ b/projects/stargazer/plugins/other/rscript/rscript.cpp @@ -157,13 +157,6 @@ if (nrMapParser.ReadFile(subnetFile)) netRouters = nrMapParser.GetMap(); -if (netRouters.empty()) - { - errorStr = "Parameter(s) \'Subnet*\' not found."; - printfd(__FILE__, "Parameter(s) 'Subnet*' not found\n"); - return -1; - } - return 0; } //----------------------------------------------------------------------------- -- 2.43.2