update thread setup with a good cap
[physics.git] / src / config / reader.cpp
index e8757dd..a981719 100644 (file)
@@ -97,9 +97,6 @@ void processLine(const string& str)
         {
             *(key::sdlMap[name]) = key;
         }
-        cout << name << endl;
-        cout << value << endl;
-        cout << key << endl;
     }
 }
 
@@ -121,11 +118,11 @@ bool extractLine(const string& str, string* name, string* value)
 
     int char_pos = 0;
 
-    int name_start;
-    int name_end;
+    int name_start = 0;
+    int name_end = 0;
 
-    int value_start;
-    int value_end;
+    int value_start = 0;
+    int value_end = 0;
 
     const char* c_str = str.c_str();