From: Wayne Davison Date: Tue, 17 Jan 2006 01:26:35 +0000 (+0000) Subject: Got rid of a now-unused static variable. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/f5a49d0e44557eda6aebd19c33367edd25ac94ac Got rid of a now-unused static variable. --- diff --git a/flist.c b/flist.c index 2eafdccf..389114c7 100644 --- a/flist.c +++ b/flist.c @@ -74,7 +74,6 @@ dev_t filesystem_dev; /* used to implement -x */ static char empty_sum[MD4_SUM_LENGTH]; static int flist_count_offset; static unsigned int file_struct_len; -static struct file_list *sorting_flist; static void clean_flist(struct file_list *flist, int strip_root, int no_dups); static void output_flist(struct file_list *flist); @@ -1476,10 +1475,8 @@ static void clean_flist(struct file_list *flist, int strip_root, int no_dups) return; } - sorting_flist = flist; qsort(flist->files, flist->count, sizeof flist->files[0], (int (*)())file_compare); - sorting_flist = NULL; for (i = no_dups? 0 : flist->count; i < flist->count; i++) { if (flist->files[i]->basename) {