process-name: fix a warning
authorJosé Bollo <jose.bollo@iot.bzh>
Tue, 29 Aug 2017 11:08:00 +0000 (13:08 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Tue, 29 Aug 2017 11:08:00 +0000 (13:08 +0200)
Change-Id: I1e70cded34b080215b53b8bb28945303d4e5f3e6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/process-name.c

index e8e19ee..039f7c4 100644 (file)
@@ -29,7 +29,6 @@ int process_name_set_name(const char *name)
 int process_name_replace_cmdline(char **argv, const char *name)
 {
        char *beg, *end, **av, c;
-       size_t length;
 
        /* update the command line */
        av = argv;