X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=createdatabasecommand.cpp;h=eab7c8261a55e45abe3f762f86cc46e59c9822a6;hb=a0f1fca79d2ddfa7ad36b4485039c68b5704fe8d;hp=58799e7a33e840580654d006b7a085ec02e7c5f5;hpb=2ea328ecaed9d038edca048887161e527523b671;p=mothur.git diff --git a/createdatabasecommand.cpp b/createdatabasecommand.cpp index 58799e7..eab7c82 100644 --- a/createdatabasecommand.cpp +++ b/createdatabasecommand.cpp @@ -380,8 +380,8 @@ int CreateDatabaseCommand::execute(){ if (countfile == "") { sort(binNames.begin(), binNames.end()); bin = ""; - for (int i = 0; i < binNames.size()-1; i++) { - bin += binNames[i] + ','; + for (int j = 0; j < binNames.size()-1; j++) { + bin += binNames[j] + ','; } bin += binNames[binNames.size()-1]; map::iterator it = repNames.find(bin); @@ -743,7 +743,7 @@ vector CreateDatabaseCommand::getShared(){ return lookup; } catch(exception& e) { - m->errorOut(e, "CreateDatabaseCommand", "getList"); + m->errorOut(e, "CreateDatabaseCommand", "getShared"); exit(1); } }