Skip to content

Commit

Permalink
brave-missing-break-in-switch.c: fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
thypon committed Feb 14, 2024
1 parent 1706765 commit 65da720
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/semgrep_rules/client/brave-missing-break-in-switch.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ char *escape_string(char *string)
switch (*cp) {
case '\\':
if (escape) {
*dest++ = '\';
*dest++ = '\\';
escape = 0;
} else
escape = 1;
Expand All @@ -151,4 +151,4 @@ int main()
{
printf("Hello, World!");
return 0;
}
}

0 comments on commit 65da720

Please sign in to comment.