* alpha-tdep.c (alpha_store_return_value): Avoid switch fallthru.

This commit is contained in:
Richard Henderson 2003-06-02 20:55:13 +00:00
parent 67dfac5232
commit f75d70ccb3
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
2003-06-02 Richard Henderson <rth@redhat.com>
* alpha-tdep.c (alpha_store_return_value): Avoid switch fallthru.
* alpha-tdep.c (alpha_extract_return_value): Use internal_error.
(alpha_store_return_value): Likewise.

View File

@ -503,8 +503,8 @@ alpha_store_return_value (struct type *valtype, struct regcache *regcache,
{
case 4:
alpha_convert_flt_dbl (raw_buffer, valbuf);
valbuf = raw_buffer;
/* FALLTHRU */
regcache_cooked_write (regcache, ALPHA_FP0_REGNUM, raw_buffer);
break;
case 8:
regcache_cooked_write (regcache, ALPHA_FP0_REGNUM, valbuf);