]> git.donarmstrong.com Git - mothur.git/blobdiff - engine.cpp
removed various build warnings
[mothur.git] / engine.cpp
index a90bb7e0588baee4f8d922687f99063c8d961387..2b1c802e86b6535dbbca645058f5ac55dd2a22ad 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);
                                }