Skip to content

Commit

Permalink
Merge pull request #4109 from telefonicaid/hardening/uninitialized-va…
Browse files Browse the repository at this point in the history
…riable

FIX unintialized variable
  • Loading branch information
mapedraza authored Apr 29, 2022
2 parents cb1e7d3 + ed70c19 commit 3b8108e
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 3b8108e

Please sign in to comment.