Skip to content

Commit

Permalink
Fix unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Kronuz committed Aug 23, 2018
1 parent a924d10 commit fb32b31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scss/src/scanner.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,11 @@ Pattern_initialize(Pattern *patterns, int patterns_sz) {

for (i = 0; i < patterns_sz; i++) {
regex = Pattern_regex(patterns[i].tok, patterns[i].expr);
#ifdef DEBUG
if (regex) {
fprintf(stderr, "\tAdded regex pattern %s: %s\n", repr(regex->tok), repr(regex->expr));
#ifdef DEBUG
fprintf(stderr, "\tAdded regex pattern %s: %s\n", repr(regex->tok), repr(regex->expr));
#endif
}
#endif
}

Pattern_patterns_initialized = 1;
Expand Down

0 comments on commit fb32b31

Please sign in to comment.