]> git.donarmstrong.com Git - mothur.git/blobdiff - engine.cpp
working on nmds command
[mothur.git] / engine.cpp
index a90bb7e0588baee4f8d922687f99063c8d961387..ad7a7ad73ad03660976137117b15035d2d2b4757 100644 (file)
@@ -181,7 +181,7 @@ string Engine::getCommand()  {
                                
                                if(nextCommand != NULL) {  add_history(nextCommand);  } 
                                else{ //^D causes null string and we want it to quit mothur
-                                       nextCommand = "quit"
+                                       strcpy(nextCommand, "quit")
                                        mout->mothurOut(nextCommand);
                                }       
                                
@@ -531,7 +531,6 @@ bool ScriptEngine::getInput(){
                                        mout->executing = true;
                                        #ifdef USE_MPI
                                                int pid, numProcesses;
-                                               MPI_Status status; 
                                                
                                                MPI_Comm_rank(MPI_COMM_WORLD, &pid); 
                                                MPI_Comm_size(MPI_COMM_WORLD, &numProcesses);