| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | --- a/libmariadb/ma_context.c |
| 2 | +++ b/libmariadb/ma_context.c | ||||
| 3 | @@ -92,6 +92,9 @@ my_context_spawn(struct my_context *c, v | ||||
| 4 | { | ||||
| 5 | int err; | ||||
| 6 | union pass_void_ptr_as_2_int u; | ||||
| 7 | + // Avoid 'may be used uninitialized' error on 32-bit systems | ||||
| 8 | + // upstream issue: https://jira.mariadb.org/browse/CONC-725 | ||||
| 9 | + u.a[1] = 0; | ||||
| 10 | |||||
| 11 | err= getcontext(&c->spawned_context); | ||||
| 12 | if (err) | ||||