]> git.donarmstrong.com Git - mothur.git/blobdiff - weighted.cpp
removed various build warnings
[mothur.git] / weighted.cpp
index 1ce6230df933eab46bee132a76ec32c2c4e9a666..30e4a7682dc4ae4ad840fcdf2f7a31921fc8c351 100644 (file)
@@ -73,7 +73,6 @@ EstOutput Weighted::createProcesses(Tree* t, vector< vector<string> > namesOfGro
        try {
 #if defined (__APPLE__) || (__MACH__) || (linux) || (__linux)
                int process = 1;
-               int num = 0;
                vector<int> processIDS;
                
                EstOutput results;
@@ -204,9 +203,7 @@ EstOutput Weighted::driver(Tree* t, vector< vector<string> > namesOfGroupCombos,
                for (int h = start; h < (start+num); h++) {     
                        //report progress
                        m->mothurOut("Processing combo: " + toString(h)); m->mothurOutEndLine();
-                       
-                       int numLeaves = t->getNumLeaves();
-                       
+                                               
                        string groupA = namesOfGroupCombos[h][0]; 
                        string groupB = namesOfGroupCombos[h][1];
                        
@@ -297,9 +294,7 @@ EstOutput Weighted::getValues(Tree* t, string groupA, string groupB) {
                
                        D += weightedSum;
                }
-               
-               int numLeaves = t->getNumLeaves();
-               
+                               
                //calculate u for the group comb 
                for(int i=0;i<t->getNumNodes();i++){