Remove unused variable.
authorNelson Ferreira <nelson.ferreira@ieee.org>
Sun, 7 Jun 2015 13:42:56 +0000 (09:42 -0400)
committerNelson Ferreira <nelson.ferreira@ieee.org>
Sun, 7 Jun 2015 13:48:33 +0000 (09:48 -0400)
       * modules/cl/cl-loop.c(cl_loop_dllist_map_return): Remove 'state'
         because it is only set to one and never read.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
modules/cl/cl-loop.c

index 40d3148..a59d7d8 100644 (file)
@@ -1523,7 +1523,6 @@ cl_loop_dllist_map_return(
        Lisp_Object *result,
        Lisp_Object(*fun)(Lisp_Object*, Lisp_Object), dllist_t dll)
 {
-       int state;
        dllist_item_t item = dllist_first(dll);
        Lisp_Object ret = Qnil;
 
@@ -1531,7 +1530,6 @@ cl_loop_dllist_map_return(
                return Qnil;
        }
 
-       state = 1;
        while (item) {
                ret = fun(result, (Lisp_Object)item->item);
                item = item->next;