[opengtl-commits] [374] cleanup

[ Thread Index | Date Index | More lists.tuxfamily.org/opengtl-commits Archives ]


Revision: 374
Author:   cyrille
Date:     2008-09-07 10:51:37 +0200 (Sun, 07 Sep 2008)

Log Message:
-----------
cleanup

Modified Paths:
--------------
    trunk/OpenGTL/OpenCTL/tools/benchmark/CtlBenchmark.cpp


Modified: trunk/OpenGTL/OpenCTL/tools/benchmark/CtlBenchmark.cpp
===================================================================
--- trunk/OpenGTL/OpenCTL/tools/benchmark/CtlBenchmark.cpp	2008-09-07 08:33:18 UTC (rev 373)
+++ trunk/OpenGTL/OpenCTL/tools/benchmark/CtlBenchmark.cpp	2008-09-07 08:51:37 UTC (rev 374)
@@ -329,38 +329,5 @@
     benchmark.start();
     benchmark.dump();
   }
-  
-/*  if( fileName == "")
-  {
-    printHelp();
-  } else {
-    GTLCore::String source;
-    std::ifstream in;
-    in.open(fileName.c_str() );
-    if(not in)
-    {
-      std::cerr << "Impossible to open file " << fileName << std::endl;
-      return EXIT_FAILURE;
-    }
-    GTLCore::String str;
-    std::getline(in,str);
-    while ( in ) {
-      source += str;
-      source += "\n";
-      std::getline(in,str);
-    }
-    OpenCTL::Module p(fileName);
-    p.setSource( source );
-    p.compile();
-    if(not p.isCompiled())
-    {
-      std::cout << "Error: " << std::endl << p.compilationErrorsMessage() << std::endl;
-      return EXIT_FAILURE;
-    }
-    if( showAssembly )
-    {
-      std::cout << p.asmSourceCode();
-    }
-  }*/
   return EXIT_SUCCESS;
 }


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/