chiark / gitweb /
remove redundant variable
authorRichard Kettlewell <rjk@greenend.org.uk>
Sun, 7 Oct 2007 16:45:16 +0000 (17:45 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sun, 7 Oct 2007 16:45:16 +0000 (17:45 +0100)
clients/disorder.c

index 156a02ddd7b62c509684096c5612f4f52fe13303..7134e7b63df58eedf18dec46ccff4f1b4355b0fa 100644 (file)
@@ -533,7 +533,6 @@ static void help_commands(void) {
 int main(int argc, char **argv) {
   int n, i, j;
   disorder_client *c = 0;
 int main(int argc, char **argv) {
   int n, i, j;
   disorder_client *c = 0;
-  const char *s;
   int status = 0;
   struct vector args;
 
   int status = 0;
   struct vector args;
 
@@ -554,7 +553,6 @@ int main(int argc, char **argv) {
   }
   if(config_read(0)) fatal(0, "cannot read configuration");
   if(!(c = disorder_new(1))) exit(EXIT_FAILURE);
   }
   if(config_read(0)) fatal(0, "cannot read configuration");
   if(!(c = disorder_new(1))) exit(EXIT_FAILURE);
-  s = config_get_file("socket");
   if(disorder_connect(c)) exit(EXIT_FAILURE);
   n = optind;
   /* accumulate command args */
   if(disorder_connect(c)) exit(EXIT_FAILURE);
   n = optind;
   /* accumulate command args */