Skip to content

Commit

Permalink
Merge pull request #888 from SirWumpus/master
Browse files Browse the repository at this point in the history
  • Loading branch information
lcn2 authored Jun 27, 2024
2 parents 6b27dbc + 0f6628a commit b5d1c6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions soup/rule_count.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ rule_count(FILE *fp_in)
/* If quote == NO_STRING (0) and is_comment == NO_COMMENT (0) then its code. */
#define IS_CODE (quote == is_comment)

/* paranoia and to keep valgrind happy */
(void) memset(word, 0, sizeof (word));
/* Paranoia and to keep valgrind happy. */
(void) memset(word, 0, sizeof (word));

while ((ch = fgetc(fp_in)) != EOF) {
if (ch == '\r') {
Expand Down

0 comments on commit b5d1c6a

Please sign in to comment.