mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Patch false maybe-uninitialized warning
This commit is contained in:
committed by
Christoffer Lerno
parent
42e4370994
commit
6ab7953706
@@ -5136,7 +5136,7 @@ static inline bool sema_expr_analyse_swizzle(SemaContext *context, Expr *expr, E
|
||||
assert(indexed_type);
|
||||
if (is_lvalue) check = CHECK_VALUE;
|
||||
ASSERT_SPAN(expr, len > 0);
|
||||
int index;
|
||||
int index = 0;
|
||||
bool is_overlapping = false;
|
||||
for (unsigned i = 0; i < len; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user