build: Silence two compiler warnings.

--
This commit is contained in:
Werner Koch 2021-05-04 10:45:30 +02:00
parent 9d83bfb639
commit b410c95fe9
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
2 changed files with 2 additions and 1 deletions

View File

@ -1682,7 +1682,7 @@ list_keyblock_colon (ctrl_t ctrl, kbnode_t keyblock,
char *reason_text = NULL;
char *reason_comment = NULL;
size_t reason_commentlen;
int reason_code;
int reason_code = 0; /* init to silence cc warning. */
if (sig->sig_class == 0x20 || sig->sig_class == 0x28
|| sig->sig_class == 0x30)

View File

@ -172,6 +172,7 @@ type_to_string (enum scheme_types typ)
case T_FRAME: return "frame";
}
assert (! "not reached");
return "?";
}
/* ADJ is enough slack to align cells in a TYPE_BITS-bit boundary */