Fixed a reference to uninitialized memory
This was only found with _GLIBCXX_DEBUG=1 *and* coverage analysis (-fprofile-arcs -ftest-coverage).
This commit is contained in:
parent
79515680cf
commit
ec382f54b7
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ public:
|
|||
}
|
||||
|
||||
virtual post_t * operator()() {
|
||||
if (posts_i == posts_end || posts_uninitialized)
|
||||
if (posts_uninitialized || posts_i == posts_end)
|
||||
return NULL;
|
||||
return *posts_i++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue