chiark / gitweb /
build fixes
[disorder] / clients / disorder.c
index 156a02ddd7b62c509684096c5612f4f52fe13303..58177668ba2b05550e480e57ed578b94eb4549e8 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * This file is part of DisOrder.
- * Copyright (C) 2004, 2005, 2006 Richard Kettlewell
+ * Copyright (C) 2004, 2005, 2006, 2007 Richard Kettlewell
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -533,7 +533,6 @@ static void help_commands(void) {
 int main(int argc, char **argv) {
   int n, i, j;
   disorder_client *c = 0;
-  const char *s;
   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);
-  s = config_get_file("socket");
   if(disorder_connect(c)) exit(EXIT_FAILURE);
   n = optind;
   /* accumulate command args */