summaryrefslogtreecommitdiff
path: root/xml2cmp/source
diff options
context:
space:
mode:
authorLaurent Charrière <lcharriere@gmail.com>2010-10-14 22:26:48 -0700
committerMichael Meeks <michael.meeks@novell.com>2010-10-15 18:27:11 +0100
commit4d30744f9130b04668c06bacea469571c1be3bae (patch)
treedfc5b17ead2376d845753129aba7074de1f8f8f3 /xml2cmp/source
parent9bde22366b222ec7cae1d759c61b0e1acc8eb96d (diff)
Delete commented out code in ure/xml2cmp
Signed-off-by: Laurent Charrière <lcharriere@gmail.com>
Diffstat (limited to 'xml2cmp/source')
-rw-r--r--xml2cmp/source/finder/dependy.cxx1
-rw-r--r--xml2cmp/source/xcd/main.cxx1
-rw-r--r--xml2cmp/source/xcd/parse.cxx4
3 files changed, 0 insertions, 6 deletions
diff --git a/xml2cmp/source/finder/dependy.cxx b/xml2cmp/source/finder/dependy.cxx
index af15ad2ba0a1..8a7ae0a8d94f 100644
--- a/xml2cmp/source/finder/dependy.cxx
+++ b/xml2cmp/source/finder/dependy.cxx
@@ -104,7 +104,6 @@ DependencyFinder::FindNeededServices( StringVector & o_rLibraries,
aResult_Libraries.erase( aResult_Libraries.begin(), aResult_Libraries.end() );
aResult_Services.erase( aResult_Services.begin(), aResult_Services.end() );
-// const ServiceInfo & rSInfo = (*itService).second->FirstImplementation();
Add2Result( *(*itService).second );
for ( std::set< Simstr >::const_iterator il = aResult_Libraries.begin();
diff --git a/xml2cmp/source/xcd/main.cxx b/xml2cmp/source/xcd/main.cxx
index 9324c5f438cc..0a0cd26851d4 100644
--- a/xml2cmp/source/xcd/main.cxx
+++ b/xml2cmp/source/xcd/main.cxx
@@ -213,7 +213,6 @@ Create_TypeInfo( const char * o_sOutputFile,
if ( 0 == strcmp(pHeapTop->Key(), pLastHeapTop->Key()) )
continue;
delete pLastHeapTop;
- // pLastHeapTop = 0;
}
pLastHeapTop = pHeapTop;
diff --git a/xml2cmp/source/xcd/parse.cxx b/xml2cmp/source/xcd/parse.cxx
index 6722652874d4..25bf083339f2 100644
--- a/xml2cmp/source/xcd/parse.cxx
+++ b/xml2cmp/source/xcd/parse.cxx
@@ -442,10 +442,6 @@ X2CParser::SyntaxError( const char * i_sText )
void
X2CParser::TestCurChar()
{
-// if (*text == '\0')
-// SyntaxError("unexpected end of file");
-// else
-
if (*text == '\n')
nFileLine++;
}