]> Savannah Git Hosting - gnulib.git/commit
rename: avoid unused-but-set-variable compiler warning
authorBen Walton <bdwalton@gmail.com>
Mon, 2 Jun 2014 19:13:54 +0000 (20:13 +0100)
committerPádraig Brady <P@draigBrady.com>
Tue, 3 Jun 2014 10:40:39 +0000 (11:40 +0100)
commiteb0662ed9a6c84deae8c443d6d9a09f5b9c435f1
tree5970582721624757f4809161f76076dae71e93d9
parente29cd9eb7b8adf3caaee1a1feaf1f24772954f2b
rename: avoid unused-but-set-variable compiler warning

* lib/rename.c (rpl_rename):  In the non-Win32 variant of rpl_rename,
it is possible that dst_exists may be set but not used.  Mark it with
the unused attribute to avoid compiler warnings.

Signed-off-by: Ben Walton <bdwalton@gmail.com>
ChangeLog
lib/rename.c