../tests/tcg/mipsel/test_dsp_r1_extrv_rs_w.c:13:5: error: ‘dsp’ is used
uninitialized [-Werror=uninitialized]
13 | __asm
|
Signed-off-by: Pierrick Bouvier <[email protected]>
---
tests/tcg/mipsel/test_dsp_r1_extrv_rs_w.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/tcg/mipsel/test_dsp_r1_extrv_rs_w.c
b/tests/tcg/mipsel/test_dsp_r1_extrv_rs_w.c
index ccceeb9f4ce..10c182a54b2 100644
--- a/tests/tcg/mipsel/test_dsp_r1_extrv_rs_w.c
+++ b/tests/tcg/mipsel/test_dsp_r1_extrv_rs_w.c
@@ -3,7 +3,7 @@
int main()
{
- int rt, rs, ach, acl, dsp;
+ int rt, rs, ach, acl, dsp = 0;
int result;
rs = 0x03;
--
2.43.0