From: Wayne Davison Date: Sat, 20 Oct 2007 06:19:01 +0000 (+0000) Subject: Got rid of a couple compiler warnings when SUPPORT_HARD_LINKS is not X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/c126e66ebdd309bd0fb36b1a0885aec46f1081bd Got rid of a couple compiler warnings when SUPPORT_HARD_LINKS is not defined. --- diff --git a/flist.c b/flist.c index 707edfd0..63f61ad7 100644 --- a/flist.c +++ b/flist.c @@ -335,7 +335,9 @@ static void send_file_entry(int f, struct file_struct *file, int ndx, int first_ { static time_t modtime; static mode_t mode; +#ifdef SUPPORT_HARD_LINKS static int64 dev; +#endif static dev_t rdev; static uint32 rdev_major; static uid_t uid; @@ -599,7 +601,9 @@ static struct file_struct *recv_file_entry(struct file_list *flist, { static int64 modtime; static mode_t mode; +#ifdef SUPPORT_HARD_LINKS static int64 dev; +#endif static dev_t rdev; static uint32 rdev_major; static uid_t uid;