client: Remove pointless assignment.
authorAndre Noll <maan@systemlinux.org>
Tue, 15 May 2012 20:17:18 +0000 (22:17 +0200)
committerAndre Noll <maan@systemlinux.org>
Wed, 13 Jun 2012 11:25:49 +0000 (13:25 +0200)
client.c:310:2: warning: Value stored to 'ret' is never read
        ret = i9e_extract_completions(ci->word, sl, &cr->matches);
        ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

client.c

index 5f51170..d98c632 100644 (file)
--- a/client.c
+++ b/client.c
@@ -307,7 +307,7 @@ static void setatt_completer(struct i9e_completion_info *ci,
                free(orig);
        }
        sl[2 * num_atts] = NULL;
-       ret = i9e_extract_completions(ci->word, sl, &cr->matches);
+       i9e_extract_completions(ci->word, sl, &cr->matches);
 out:
        free(buf);
        free_argv(sl);