| commit | 45f8296e6965ff4e2ca855e995149add6352645d | [log] [tgz] | 
|---|---|---|
| author | Tsukasa OI <research_trasio@irq.a4lg.com> | Mon Sep 26 07:03:00 2022 +0000 | 
| committer | Tsukasa OI <research_trasio@irq.a4lg.com> | Sat Oct 29 08:13:15 2022 +0000 | 
| tree | 320e55a613d4e472983d91cd1b4a204efcd8cb27 | |
| parent | 57e3eee069a54ca09d89055bf6eccff710f87ed8 [diff] | 
sim/m32r: Initialize "list" variable
The variable "list" is only initialized when arg1 > 0 and when arg1 == 0,
an uninitialized value is passed to translate_endian_h2t function.
Although this behavior is harmless, this commit adds initialization to avoid
a GCC warning ("-Wmaybe-uninitialized").