changeset 1551:1264029d7989

Remove unnecessary assignment spotted by Cynt Rynt.
author Rob Landley <rob@landley.net>
date Tue, 11 Nov 2014 15:08:25 -0600
parents 2997847aa299
children 57ee7711a0c9
files lib/password.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/password.c	Mon Nov 10 17:17:17 2014 -0600
+++ b/lib/password.c	Tue Nov 11 15:08:25 2014 -0600
@@ -156,7 +156,7 @@
   }
 
   *sfx = '-';
-  ret = unlink(filenamesfx);
+  unlink(filenamesfx);
   ret = link(filename, filenamesfx);
   if (ret < 0) error_msg("can't create backup file");