From 7b57f0c71f0df0f54ba55c9cb25fe03cfb3716fe Mon Sep 17 00:00:00 2001 From: Ryan Graham Date: Tue, 21 Mar 2023 10:43:03 -0700 Subject: [PATCH] c: assignment-as-value lint The C compiler on GitHub Actions is more pedantic than my local clang version I guess. --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index b63a46d..baa67b9 100644 --- a/main.c +++ b/main.c @@ -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);