From: Richard Whitehouse Date: Tue, 3 May 2011 09:48:53 +0000 (+0100) Subject: Fixed inital values for generator X-Git-Url: https://git.richardwhiuk.com/?a=commitdiff_plain;h=d975498bf6829173d3aa5b4d945e2b2fb03f3ec5;p=ns-moose.git Fixed inital values for generator --- diff --git a/src/simulation/generator.cc b/src/simulation/generator.cc index a540fa8..b52b92e 100644 --- a/src/simulation/generator.cc +++ b/src/simulation/generator.cc @@ -33,8 +33,8 @@ int main (int argc, char *argv[]) try { std::string type; - unsigned long size; - unsigned long hosts; + unsigned long size = 0; + unsigned long hosts = 0; std::string file; CommandLine cmd; // Allow CommandLine args