Fix uninitialized variables

... as found by valgrind
This commit is contained in:
Pasi Kallinen
2022-03-02 13:29:20 +02:00
parent 23d09e6678
commit 13d85abde5
3 changed files with 4 additions and 3 deletions

View File

@@ -316,7 +316,7 @@ priestname(
if (article == ARTICLE_THE) {
Strcat(pname, "the ");
} else {
char buf2[BUFSZ];
char buf2[BUFSZ] = DUMMY;
/* don't let "Angel of <foo>" fool an() into using "the " */
Strcpy(buf2, pname);