mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-06 03:40:56 -08:00
* lisp.h (SWITCH_ENUM_CAST): Remove. All uses removed.
This no-op macro hasn't been needed for many years. * src/regex.c (SWITCH_ENUM_CAST) [!emacs]: Likewise.
This commit is contained in:
parent
c32af1e4a0
commit
7393bcbb8b
9 changed files with 22 additions and 24 deletions
|
|
@ -2522,7 +2522,7 @@ arith_driver (enum arithop code, ptrdiff_t nargs, Lisp_Object *args)
|
|||
ptrdiff_t ok_args;
|
||||
EMACS_INT ok_accum;
|
||||
|
||||
switch (SWITCH_ENUM_CAST (code))
|
||||
switch (code)
|
||||
{
|
||||
case Alogior:
|
||||
case Alogxor:
|
||||
|
|
@ -2557,7 +2557,7 @@ arith_driver (enum arithop code, ptrdiff_t nargs, Lisp_Object *args)
|
|||
nargs, args);
|
||||
args[argnum] = val;
|
||||
next = XINT (args[argnum]);
|
||||
switch (SWITCH_ENUM_CAST (code))
|
||||
switch (code)
|
||||
{
|
||||
case Aadd:
|
||||
if (INT_ADD_OVERFLOW (accum, next))
|
||||
|
|
@ -2643,7 +2643,7 @@ float_arith_driver (double accum, ptrdiff_t argnum, enum arithop code,
|
|||
args[argnum] = val; /* runs into a compiler bug. */
|
||||
next = XINT (args[argnum]);
|
||||
}
|
||||
switch (SWITCH_ENUM_CAST (code))
|
||||
switch (code)
|
||||
{
|
||||
case Aadd:
|
||||
accum += next;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue