Fix a couple of errors that cppcheck only detects in the older
version run by GitHub Actions, and update the suppression for
the verify label.
{
krb5_context c = args->config->ctx->context;
krb5_error_code retval;
- char *cache = NULL;
+ char *cache;
/* First try to use fast_ccache, and then fall back on anon_fast. */
cache = fast_setup_cache(args);
int
pamk5_get_password(struct pam_args *args, const char *prefix, char **password)
{
- char *prompt = NULL;
+ char *prompt;
int retval;
prompt = build_password_prompt(args, prefix);
uninitvar:php/php5_remctl.c:321
// (pam-krb5) cppcheck doesn't recognize the unused attribute on labels.
-unusedLabel:auth.c:884
+unusedLabel:auth.c:894