Skip to content

Commit

Permalink
FIX unintialized variable
Browse files Browse the repository at this point in the history
  • Loading branch information
fgalan committed Apr 29, 2022
1 parent cb1e7d3 commit ed70c19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/mongoBackend/MongoGlobal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1589,7 +1589,7 @@ bool entitiesQuery
unsigned int docs = 0;

orion::BSONObj r;
int errType;
int errType = ON_NEXT_NO_ERROR;
std::string nextErr;

/* Note limit != 0 will cause skipping the while loop in case request didn't actually ask for any result */
Expand Down

0 comments on commit ed70c19

Please sign in to comment.