Skip to content

Commit

Permalink
src/syntax.c: Fix whitespace which confuses static checkers (#725)
Browse files Browse the repository at this point in the history
  • Loading branch information
rwmjones authored Aug 31, 2022
1 parent 9cc0dee commit be78d81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/syntax.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ void syntax_error(struct info *info, const char *format, ...) {
if (error->code != AUG_NOERROR && error->code != AUG_ESYNTAX)
return;

va_start(ap, format);
va_start(ap, format);
format_error(info, AUG_ESYNTAX, format, ap);
va_end(ap);
}
Expand All @@ -146,7 +146,7 @@ void fatal_error(struct info *info, const char *format, ...) {
if (error->code == AUG_EINTERNAL)
return;

va_start(ap, format);
va_start(ap, format);
format_error(info, AUG_EINTERNAL, format, ap);
va_end(ap);
}
Expand Down

0 comments on commit be78d81

Please sign in to comment.