aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode.c
diff options
context:
space:
mode:
authorPavel Janík2001-11-02 20:46:55 +0000
committerPavel Janík2001-11-02 20:46:55 +0000
commitb78265036088d5d0eac2a03b929adb50aa59b45c (patch)
treede99fe733144deb926fd31ee7bdff95cb1bc5073 /src/bytecode.c
parent00a2cef7d11a1b193891eb3d28274ef7fc7c3fe4 (diff)
downloademacs-b78265036088d5d0eac2a03b929adb50aa59b45c.tar.gz
emacs-b78265036088d5d0eac2a03b929adb50aa59b45c.zip
Update usage of CHECK_ macros (remove unused second argument).
Diffstat (limited to 'src/bytecode.c')
-rw-r--r--src/bytecode.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/bytecode.c b/src/bytecode.c
index c356eb3a262..c926a3237a6 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -447,10 +447,10 @@ If the third argument is incorrect, Emacs may crash. */)
447 } 447 }
448#endif 448#endif
449 449
450 CHECK_STRING (bytestr, 0); 450 CHECK_STRING (bytestr);
451 if (!VECTORP (vector)) 451 if (!VECTORP (vector))
452 vector = wrong_type_argument (Qvectorp, vector); 452 vector = wrong_type_argument (Qvectorp, vector);
453 CHECK_NUMBER (maxdepth, 2); 453 CHECK_NUMBER (maxdepth);
454 454
455 if (STRING_MULTIBYTE (bytestr)) 455 if (STRING_MULTIBYTE (bytestr))
456 /* BYTESTR must have been produced by Emacs 20.2 or the earlier 456 /* BYTESTR must have been produced by Emacs 20.2 or the earlier
@@ -895,7 +895,7 @@ If the third argument is incorrect, Emacs may crash. */)
895 895
896 case Btemp_output_buffer_setup: 896 case Btemp_output_buffer_setup:
897 BEFORE_POTENTIAL_GC (); 897 BEFORE_POTENTIAL_GC ();
898 CHECK_STRING (TOP, 0); 898 CHECK_STRING (TOP);
899 temp_output_buffer_setup (XSTRING (TOP)->data); 899 temp_output_buffer_setup (XSTRING (TOP)->data);
900 AFTER_POTENTIAL_GC (); 900 AFTER_POTENTIAL_GC ();
901 TOP = Vstandard_output; 901 TOP = Vstandard_output;
@@ -920,7 +920,7 @@ If the third argument is incorrect, Emacs may crash. */)
920 BEFORE_POTENTIAL_GC (); 920 BEFORE_POTENTIAL_GC ();
921 v1 = POP; 921 v1 = POP;
922 v2 = TOP; 922 v2 = TOP;
923 CHECK_NUMBER (v2, 0); 923 CHECK_NUMBER (v2);
924 AFTER_POTENTIAL_GC (); 924 AFTER_POTENTIAL_GC ();
925 op = XINT (v2); 925 op = XINT (v2);
926 immediate_quit = 1; 926 immediate_quit = 1;
@@ -1152,8 +1152,8 @@ If the third argument is incorrect, Emacs may crash. */)
1152 Lisp_Object v1, v2; 1152 Lisp_Object v1, v2;
1153 BEFORE_POTENTIAL_GC (); 1153 BEFORE_POTENTIAL_GC ();
1154 v2 = POP; v1 = TOP; 1154 v2 = POP; v1 = TOP;
1155 CHECK_NUMBER_OR_FLOAT_COERCE_MARKER (v1, 0); 1155 CHECK_NUMBER_OR_FLOAT_COERCE_MARKER (v1);
1156 CHECK_NUMBER_OR_FLOAT_COERCE_MARKER (v2, 0); 1156 CHECK_NUMBER_OR_FLOAT_COERCE_MARKER (v2);
1157 AFTER_POTENTIAL_GC (); 1157 AFTER_POTENTIAL_GC ();
1158 if (FLOATP (v1) || FLOATP (v2)) 1158 if (FLOATP (v1) || FLOATP (v2))
1159 { 1159 {
@@ -1434,7 +1434,7 @@ If the third argument is incorrect, Emacs may crash. */)
1434 1434
1435 case Bchar_syntax: 1435 case Bchar_syntax:
1436 BEFORE_POTENTIAL_GC (); 1436 BEFORE_POTENTIAL_GC ();
1437 CHECK_NUMBER (TOP, 0); 1437 CHECK_NUMBER (TOP);
1438 AFTER_POTENTIAL_GC (); 1438 AFTER_POTENTIAL_GC ();
1439 XSETFASTINT (TOP, syntax_code_spec[(int) SYNTAX (XINT (TOP))]); 1439 XSETFASTINT (TOP, syntax_code_spec[(int) SYNTAX (XINT (TOP))]);
1440 break; 1440 break;
@@ -1563,7 +1563,7 @@ If the third argument is incorrect, Emacs may crash. */)
1563 BEFORE_POTENTIAL_GC (); 1563 BEFORE_POTENTIAL_GC ();
1564 v2 = POP; 1564 v2 = POP;
1565 v1 = TOP; 1565 v1 = TOP;
1566 CHECK_NUMBER (v2, 0); 1566 CHECK_NUMBER (v2);
1567 AFTER_POTENTIAL_GC (); 1567 AFTER_POTENTIAL_GC ();
1568 op = XINT (v2); 1568 op = XINT (v2);
1569 immediate_quit = 1; 1569 immediate_quit = 1;