Skip to content

Commit

Permalink
Tell coverity what's going on
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Apr 26, 2014
1 parent cb61708 commit 98c441a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/modcall.c
Expand Up @@ -681,6 +681,7 @@ static bool modcall_recurse(REQUEST *request, rlm_components_t component, int de

RDEBUG2("%.*sforeach %s ", depth + 1, modcall_spaces,
c->name);
rad_assert(vps != NULL);

for (vp = fr_cursor_init(&cursor, &vps);
vp != NULL;
Expand Down Expand Up @@ -726,6 +727,7 @@ static bool modcall_recurse(REQUEST *request, rlm_components_t component, int de

talloc_free(vps);

rad_assert(next != NULL);
result = next->result;
priority = next->priority;
MOD_LOG_CLOSE_BRACE();
Expand Down

0 comments on commit 98c441a

Please sign in to comment.