]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
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 5f511708506a464e1a0e06f679eaa856ac015164..d98c6327c9163d7018f0d94c1c612680205244d7 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;
                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);
 out:
        free(buf);
        free_argv(sl);