summaryrefslogtreecommitdiff
path: root/src/group.c
diff options
context:
space:
mode:
authorJérémie Courrèges-Anglas <jca@wxcvbn.org>2014-01-03 23:12:19 +0100
committerJérémie Courrèges-Anglas <jca@wxcvbn.org>2014-01-03 23:12:19 +0100
commit3efe2d8254fe4cd5aecb56eb0f0861bd043b6782 (patch)
tree804357193c42f790fe25d766a925164f0f36f5a1 /src/group.c
parent496289f26ac6a1833c1d649665456c61277b03ee (diff)
downloadratpoison-3efe2d8254fe4cd5aecb56eb0f0861bd043b6782.zip
Don't mix code and decls.
Diffstat (limited to 'src/group.c')
-rw-r--r--src/group.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/group.c b/src/group.c
index 53e509e..037e570 100644
--- a/src/group.c
+++ b/src/group.c
@@ -73,12 +73,12 @@ void
get_group_list (char *delim, struct sbuf *buffer,
int *mark_start, int *mark_end)
{
- rp_group *cur;
+ rp_group *cur, *last;
if (buffer == NULL) return;
sbuf_clear (buffer);
- rp_group *last;
+
last = group_last_group ();
/* Generate the string. */