Skip to content

Commit

Permalink
Clang scan
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Aug 20, 2015
1 parent 5f1bc0a commit 77e444b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/tmpl.c
Expand Up @@ -1161,9 +1161,10 @@ ssize_t tmpl_afrom_str(TALLOC_CTX *ctx, vp_tmpl_t **out, char const *in, size_t
rad_assert(0);
return 0; /* 0 is an error here too */
}
rad_assert(vpt);
vpt->quote = type;

rad_assert((slen >= 0) && (vpt != NULL));
rad_assert(slen >= 0);

VERIFY_TMPL(vpt);
*out = vpt;
Expand Down

0 comments on commit 77e444b

Please sign in to comment.