|
From: <br...@us...> - 2009-04-17 05:17:35
|
Revision: 3892
http://openvrml.svn.sourceforge.net/openvrml/?rev=3892&view=rev
Author: braden
Date: 2009-04-17 05:17:31 +0000 (Fri, 17 Apr 2009)
Log Message:
-----------
Quell uninitialized variable warning.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/libopenvrml/openvrml/local/component.cpp
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-04-17 05:08:38 UTC (rev 3891)
+++ trunk/ChangeLog 2009-04-17 05:17:31 UTC (rev 3892)
@@ -1,5 +1,11 @@
2009-04-17 Braden McDaniel <br...@en...>
+ * src/libopenvrml/openvrml/local/component.cpp
+ (openvrml::local::component::xml_reader::start_element(openvrml::local::xml_reader&)):
+ Quell uninitialized variable warning.
+
+2009-04-17 Braden McDaniel <br...@en...>
+
* src/script/java.cpp: Include <iostream> for std::cerr.
2009-04-17 Braden McDaniel <br...@en...>
Modified: trunk/src/libopenvrml/openvrml/local/component.cpp
===================================================================
--- trunk/src/libopenvrml/openvrml/local/component.cpp 2009-04-17 05:08:38 UTC (rev 3891)
+++ trunk/src/libopenvrml/openvrml/local/component.cpp 2009-04-17 05:17:31 UTC (rev 3892)
@@ -120,7 +120,7 @@
case component::xml_reader::level:
if (reader.local_name() == "requires") {
string id;
- size_t level;
+ size_t level = 0;
move_to_attr_result = reader.move_to_first_attribute();
while (move_to_attr_result > 0) {
using boost::lexical_cast;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|