Skip to content
  • Blue Swirl's avatar
    cris: avoid a write only variable · 03e654c0
    Blue Swirl authored
    
    
    Compiling with GCC 4.6.0 20100925 produced a warning:
    In file included from /src/qemu/target-cris/translate.c:3154:0:
    /src/qemu/target-cris/translate_v10.c: In function 'dec10_prep_move_m':
    /src/qemu/target-cris/translate_v10.c:111:22: error: variable 'rd' set but not used [-Werror=unused-but-set-variable]
    
    Fix by deleting rd, adjust the only user.
    
    Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
    03e654c0