]> arthur.barton.de Git - netatalk.git/commitdiff
unused variables
authorHAT <hat@fa2.so-net.ne.jp>
Fri, 25 Jun 2010 18:03:31 +0000 (03:03 +0900)
committerHAT <hat@fa2.so-net.ne.jp>
Fri, 25 Jun 2010 18:03:31 +0000 (03:03 +0900)
etc/afpd/volume.c

index fa627599a3bccfae98f929b325a37e5a1c7a928f..c89d7e06e58c2ddd83b68b1b132dd39be2dd4649 100644 (file)
@@ -2648,16 +2648,9 @@ void unload_volumes_and_extmap(void)
  */
 char *get_uuid(const AFPObj *obj, const char *volname)
 {
-    struct stat st;
-
-    char *usersign;
-    int fd, i;
-    struct stat tmpstat;
     char *volname_conf;
-    int header = 0;
     char buf[1024], uuid[UUID_PRINTABLE_STRING_LENGTH], *p;
-    FILE *fp, *randomp;
-    size_t len;
+    FILE *fp;
     
     if ((fp = fopen(obj->options.uuidconf, "r")) != NULL) {  /* read open? */
         /* scan in the conf file */