Skip to content

Commit

Permalink
GH-873 Fix formatting of memset() commit 6b27db.
Browse files Browse the repository at this point in the history
  • Loading branch information
SirWumpus committed Jun 27, 2024
1 parent 6b27dbc commit 0f6628a
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 0f6628a

Please sign in to comment.