Skip to content

Commit

Permalink
Merge pull request Andersbakken#367 from LefterisJP/fix_paren_warning
Browse files Browse the repository at this point in the history
Fix parentheses warning
  • Loading branch information
Andersbakken committed Jun 25, 2015
2 parents ecd521a + 4ec1b51 commit 7ecf4e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ClangIndexer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,7 @@ static inline Map<String, Set<Location> > convertTargets(const Map<Location, Map
bool ClangIndexer::writeFiles(const Path &root, String &error)
{
for (const auto &unit : mUnits) {
if (!mIndexDataMessage.files().value(unit.first) & IndexDataMessage::Visited) {
if (!(mIndexDataMessage.files().value(unit.first) & IndexDataMessage::Visited)) {
::error() << "Wanting to write something for" << Location::path(unit.first) << "but we didn't visit it" << mSource.sourceFile()
<< unit.second->targets.size()
<< unit.second->usrs.size()
Expand Down

0 comments on commit 7ecf4e0

Please sign in to comment.