Skip to content

Commit

Permalink
Fix compilation warning and remove debugging print statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
John Harwell committed Aug 27, 2018
1 parent b5c2bad commit 5333ad2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/GuiQt/BalsaDatabaseManager.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1400,13 +1400,10 @@ BalsaDatabaseManager::isStudyEditableByUser(const AString& studyID,
std::vector<BalsaStudyInformation> studyInformation;
AString errorMessage;

bool validStudyFlag = false;

if (getAllStudyInformation(studyInformation,
errorMessage)) {
for (const auto& info : studyInformation) {
if (info.getStudyID() == studyID) {
validStudyFlag = true;
if (info.isEditable()) {
return true;
}
Expand Down
1 change: 0 additions & 1 deletion src/GuiQt/BalsaStudyInformation.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ BalsaStudyInformation::BalsaStudyInformation(const QJsonObject& jsonObject)
m_editableStatus = (editText == "EDITABLE");
}
}
std::cout << "Study " << m_studyTitle << " editable=" << AString::fromBool(m_editableStatus) << std::endl;
}
}

Expand Down

0 comments on commit 5333ad2

Please sign in to comment.