Skip to content

Commit

Permalink
Perl: hide a local varaible used on ly DEBUG mdoe
Browse files Browse the repository at this point in the history
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
  • Loading branch information
masatake committed Jan 16, 2023
1 parent 9a8dc5f commit fcccaff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions parsers/perl.c
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,9 @@ static void collectHereDocMarkers (struct hereDocMarkerManager *mgr,
const unsigned char *line)
{
const unsigned char *cp = line;
#ifdef DEBUG
const unsigned char *last = cp;
#endif
while ((cp = collectHereDocMarker(mgr, cp)) != NULL)
Assert(last < cp);
}
Expand Down

0 comments on commit fcccaff

Please sign in to comment.