summaryrefslogtreecommitdiffstats
path: root/xml2cmp/source/xcd/main.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-01-18 18:03:19 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-01-19 08:26:51 +0100
commit10d33da53b40ae837d0371011e347f9028a2c76f (patch)
treef635db91ddf98a5f774b89ffe4d3ce13544a5ebf /xml2cmp/source/xcd/main.cxx
parentfdo#39428 Remove/audit SvStream operator>>/<<(long) (diff)
downloadcore-10d33da53b40ae837d0371011e347f9028a2c76f.tar.gz
core-10d33da53b40ae837d0371011e347f9028a2c76f.zip
Remove obsolete xml2cmp -ix.
Diffstat (limited to 'xml2cmp/source/xcd/main.cxx')
-rw-r--r--xml2cmp/source/xcd/main.cxx29
1 files changed, 1 insertions, 28 deletions
diff --git a/xml2cmp/source/xcd/main.cxx b/xml2cmp/source/xcd/main.cxx
index ea6b140904ba..5ccaf773ddeb 100644
--- a/xml2cmp/source/xcd/main.cxx
+++ b/xml2cmp/source/xcd/main.cxx
@@ -228,29 +228,6 @@ int Do_SingleFileCommandLine(const CommandLine & i_rCommandLine)
return 0;
};
-int Do_IndexCommandLine(const CommandLine & i_rCommandLine)
-{
- // Parse files:
- List<Simstr> aFiles;
- Index aIndex( i_rCommandLine.OutputDirectory(),
- i_rCommandLine.IdlRootPath(),
- i_rCommandLine.IndexedTags() );
-
- std::cout << "Gathering xml-files ..." << std::endl;
- GatherFileNames( aFiles, i_rCommandLine.XmlSrcDirectory() );
-
- std::cout << "Creating output ..." << std::endl;
- aIndex.GatherData(aFiles);
- aIndex.WriteOutput( i_rCommandLine.IndexOutputFile() );
-
- std::cout << "... done." << std::endl;
-
- return 0;
-};
-
-
-
-
int
#ifdef WNT
_cdecl
@@ -267,11 +244,7 @@ main( int argc, char* argv[] )
return 1;
}
- if ( aCommandLine.IsIndexCommand() )
- {
- ret = Do_IndexCommandLine(aCommandLine);
- }
- else if ( aCommandLine.IsDepCommand() )
+ if ( aCommandLine.IsDepCommand() )
{
ret = Do_DepCommandLine(aCommandLine);
}