mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 08:43:40 -07:00
Add default case to switch statement so that it compiles with gcc -wswitch-default.
Copied from Perforce Change: 185293 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
7631c48b66
commit
97a2d4634c
1 changed files with 2 additions and 1 deletions
|
|
@ -415,8 +415,9 @@ static mps_addr_t obj_isfwd(mps_addr_t addr)
|
|||
return obj->fwd2.fwd;
|
||||
case TYPE_FWD:
|
||||
return obj->fwd.fwd;
|
||||
default:
|
||||
return NULL;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static void obj_fwd(mps_addr_t old, mps_addr_t new)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue