]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
init-xenstore-domain: remove an unused variable
authorJan Beulich <JBeulich@suse.com>
Tue, 4 Oct 2016 10:27:07 +0000 (04:27 -0600)
committerWei Liu <wei.liu2@citrix.com>
Tue, 4 Oct 2016 10:29:40 +0000 (11:29 +0100)
Introduced by commit 80dd5b401e ("tools: add --maxmem parameter to
init-xenstore-domain").

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/helpers/init-xenstore-domain.c

index a7c97d75a211183dc0db5292527b98fae7299df2..8a41ee7d3a0b1003736cdc9526d4ccfe2fea5620 100644 (file)
@@ -236,7 +236,6 @@ static int parse_maxmem(xc_interface *xch, char *str)
     unsigned long mb = 0, a = 0, b = 0;
     unsigned long val;
     unsigned long *res;
-    char buf[16];
     char *p;
     char *s = str;