Skip to content

Commit

Permalink
c: assignment-as-value lint
Browse files Browse the repository at this point in the history
The C compiler on GitHub Actions is more pedantic than my local clang
version I guess.
  • Loading branch information
rmg committed Mar 21, 2023
1 parent 3c4a051 commit 7b57f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ static int_fast32_t scan_slice_fast(const unsigned char *buf, const unsigned cha
#endif

do {
assert(prev = buf);
assert((prev = buf));
if (is_lower_hex(buf)) {
buf = scan_hit_short(buf, end);
assert(buf > prev);
Expand Down

0 comments on commit 7b57f0c

Please sign in to comment.