projects
/
sxemacs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
053b107
)
Remove unused variable.
author
Nelson Ferreira
<nelson.ferreira@ieee.org>
Sun, 7 Jun 2015 13:42:56 +0000
(09:42 -0400)
committer
Nelson 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
patch
|
blob
|
history
diff --git
a/modules/cl/cl-loop.c
b/modules/cl/cl-loop.c
index
40d3148
..
a59d7d8
100644
(file)
--- a/
modules/cl/cl-loop.c
+++ b/
modules/cl/cl-loop.c
@@
-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;