[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/server xml.cpp
From: |
Markus Gothe |
Subject: |
[Gnash-commit] gnash/server xml.cpp |
Date: |
Fri, 29 Sep 2006 14:07:35 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Markus Gothe <nihilus> 06/09/29 14:07:35
Modified files:
server : xml.cpp
Log message:
forgot this bool = ret;
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/xml.cpp?cvsroot=gnash&r1=1.25&r2=1.26
Patches:
Index: xml.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/xml.cpp,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- xml.cpp 29 Sep 2006 14:03:46 -0000 1.25
+++ xml.cpp 29 Sep 2006 14:07:35 -0000 1.26
@@ -36,6 +36,8 @@
//
//
+/* $Id: xml.cpp,v 1.26 2006/09/29 14:07:35 nihilus Exp $ */
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
@@ -356,7 +358,7 @@
return true;
#else
- bool ret = true;
+bool ret = true;
#ifdef USE_DOM
xmlInitParser();
@@ -516,7 +518,6 @@
bool
XML::load(const char *filespec)
{
- bool ret = true;
struct stat stats;
log_msg("Load disk XML file: %s\n", filespec);
@@ -535,7 +536,7 @@
reader = xmlNewTextReaderFilename(filespec);
if (reader != NULL) {
- ret = true;
+ bool ret = true;
while (ret) {
ret = xmlTextReaderRead(reader);
node = processNode(reader, node);
@@ -559,7 +560,7 @@
log_error("Can't load XML file: %s!\n", filespec);
return false;
}
- ret = parseDoc(_doc, false);
+ bool ret = parseDoc(_doc, false);
xmlCleanupParser();
xmlFreeDoc(_doc);
xmlMemoryDump();