* cedet/srecode/compile.el (srecode-compile-split-code)
authorChong Yidong <cyd@stupidchicken.com>
Sun, 20 Sep 2009 21:48:30 +0000 (21:48 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 20 Sep 2009 21:48:30 +0000 (21:48 +0000)
(srecode-compile-parse-inserter): Fix compiler warning.

lisp/ChangeLog
lisp/cedet/srecode/compile.el

index eeb2e33..902532d 100644 (file)
@@ -1,3 +1,8 @@
+2009-09-20  Chong Yidong  <cyd@stupidchicken.com>
+
+       * cedet/srecode/compile.el (srecode-compile-split-code)
+       (srecode-compile-parse-inserter): Fix compiler warning.
+
 2009-09-20  Chong Yidong  <cyd@stupidchicken.com>
 
        * cedet/ede/speedbar.el (ede-speedbar-file-setup): Add autoload.
index f744b05..769c013 100644 (file)
@@ -393,7 +393,7 @@ If END-NAME is specified, and the input string"
                                 (match-end 0)))
               (namestart (match-end 0))
               (junk (string-match regexend what namestart))
-              end tail name)
+              end tail name key)
          ;; Add string to compiled output
          (when (> (length prefix) 0)
            (setq comp (cons prefix comp)))
@@ -462,6 +462,7 @@ If END-NAME is specified, and the input string"
   "Parse the inserter TXT with the current STATE.
 Return an inserter object."
   (let ((key (aref txt 0))
+       name
        )
     (if (and (or (< key ?A) (> key ?Z))
             (or (< key ?a) (> key ?z)) )