purge unused variables
authorGeorgios D. Tsoukalas <gtsouk@cslab.ece.ntua.gr>
Tue, 5 Jun 2012 18:35:24 +0000 (21:35 +0300)
committerStratos Psomadakis <psomas@grnet.gr>
Wed, 6 Jun 2012 12:00:08 +0000 (15:00 +0300)
xseg/peers/user/filed.c

index f3f4dcf..81de4ca 100644 (file)
@@ -168,7 +168,7 @@ static inline void prepare_io(struct store *store, struct io *io)
 static int dir_open(   struct store *store, struct io *io,
                        char *target, uint32_t targetlen, int mode      )
 {
-       int fd = -1, r;
+       int fd = -1;
        struct fdcache_node *ce = NULL;
        long i, lru;
        uint64_t min;
@@ -501,11 +501,9 @@ static int filed_loop(struct store *store)
 static int filed(      char *path, unsigned long size, uint32_t nr_ops,
                        char *spec, long portno )
 {
-       struct stat stat;
        struct sigaction sa;
        struct store *store;
-       int r, mode, i;
-       void *status;
+       int i;
 
        store = malloc(sizeof(struct store));
        if (!store) {