mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-04-26 09:10:43 -04:00
Got rid of a couple compiler warnings when SUPPORT_HARD_LINKS is not
defined.
This commit is contained in:
4
flist.c
4
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;
|
||||
|
||||
Reference in New Issue
Block a user