]> AND Private Git Repository - blast.git/blobdiff - GroupBlock.cpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
changes in output pattern comput
[blast.git] / GroupBlock.cpp
index b6fc702d0f317701290434843331da6545b1eb22..62fd6ec8c813599c568d8c928b901f7ffc6e5aba 100644 (file)
@@ -125,8 +125,7 @@ void GroupBlock::computeOutputPattern(int nbExec) throw(Exception) {
 
   cout << "computing output pattern of group " << qPrintable(name) << endl;
   
-  bool canCompute = false;
-  bool compatible = false;
+  bool canCompute = false;  
   // get the input pattern on each inputs
   createInputPattern();
   
@@ -170,8 +169,7 @@ void GroupBlock::computeOutputPattern(int nbExec) throw(Exception) {
     catch(Exception e) {
       cout << qPrintable(block->getName()) << " is not compatible with his input pattern" << endl;
       throw(e);
-    }
-    compatible = true;
+    }    
     
     try {
       block->computeOutputPattern();