* syntax.c (scan_words): Remove var that was set but not used.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Apr 2011 07:50:49 +0000 (00:50 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Apr 2011 07:50:49 +0000 (00:50 -0700)
src/ChangeLog
src/syntax.c

index a83f79e..d22ec42 100644 (file)
@@ -1,5 +1,7 @@
 2011-04-04  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * syntax.c (scan_words): Remove var that was set but not used.
+
        * lread.c (lisp_file_lexically_bound_p): Use ints rather than endptrs.
        (lisp_file_lexically_bound_p, read1): Use unsigned instead of int.
        (safe_to_load_p): Make the end-of-loop test the inverse of the in-loop.
index 0a1525b..892cec6 100644 (file)
@@ -1219,7 +1219,7 @@ scan_words (register EMACS_INT from, register EMACS_INT count)
   register EMACS_INT from_byte = CHAR_TO_BYTE (from);
   register enum syntaxcode code;
   int ch0, ch1;
-  Lisp_Object func, script, pos;
+  Lisp_Object func, pos;
 
   immediate_quit = 1;
   QUIT;
@@ -1259,7 +1259,6 @@ scan_words (register EMACS_INT from, register EMACS_INT count)
        }
       else
        {
-         script = CHAR_TABLE_REF (Vchar_script_table, ch0);
          while (1)
            {
              if (from == end) break;
@@ -1310,7 +1309,6 @@ scan_words (register EMACS_INT from, register EMACS_INT count)
        }
       else
        {
-         script = CHAR_TABLE_REF (Vchar_script_table, ch1);
          while (1)
            {
              if (from == beg)