summaryrefslogtreecommitdiff
path: root/src/intersim2/networks/dragonfly.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/intersim2/networks/dragonfly.cpp')
-rw-r--r--src/intersim2/networks/dragonfly.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/intersim2/networks/dragonfly.cpp b/src/intersim2/networks/dragonfly.cpp
index b539cc6..01a2281 100644
--- a/src/intersim2/networks/dragonfly.cpp
+++ b/src/intersim2/networks/dragonfly.cpp
@@ -217,12 +217,12 @@ void DragonFlyNew::_ComputeSize( const Configuration &config )
void DragonFlyNew::_BuildNet( const Configuration &config )
{
- int _output;
- int _input;
+ int _output=-1;
+ int _input=-1;
+ int _dim_ID=-1;
+ int _num_ports_per_switch=-1;
+ int _dim_size=-1;
int c;
- int _dim_ID;
- int _num_ports_per_switch;
- int _dim_size;
ostringstream router_name;