diff options
author | Rob Landley <rob@landley.net> | 2014-11-11 15:08:25 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2014-11-11 15:08:25 -0600 |
commit | 6e087a3a6fb420efc5cb77e13818668212034225 (patch) | |
tree | 07b1e83f89bed16415bd11b500ce44459056f38f | |
parent | 549010756693647c759a2de4f2d5a81265d7e6cf (diff) | |
download | toybox-6e087a3a6fb420efc5cb77e13818668212034225.tar.gz |
Remove unnecessary assignment spotted by Cynt Rynt.
-rw-r--r-- | lib/password.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/password.c b/lib/password.c index 40cbead0..985bd573 100644 --- a/lib/password.c +++ b/lib/password.c @@ -156,7 +156,7 @@ int update_password(char *filename, char* username, char* entry) } *sfx = '-'; - ret = unlink(filenamesfx); + unlink(filenamesfx); ret = link(filename, filenamesfx); if (ret < 0) error_msg("can't create backup file"); |