mirror of
git://git.sv.gnu.org/nano.git
synced 2025-01-27 03:32:05 +03:00
tweaks: use an available macro to silence a compiler warning
This commit is contained in:
parent
3129ff687a
commit
e3e3f655ee
@ -696,11 +696,9 @@ void die_save_file(const char *die_filename
|
||||
* but don't worry if it fails because we're supposed to be bailing as
|
||||
* fast as possible. */
|
||||
if (die_stat) {
|
||||
int shush;
|
||||
shush = chmod(targetname, die_stat->st_mode);
|
||||
shush = chown(targetname, die_stat->st_uid, die_stat->st_gid);
|
||||
if (shush)
|
||||
;
|
||||
IGNORE_CALL_RESULT(chmod(targetname, die_stat->st_mode));
|
||||
IGNORE_CALL_RESULT(chown(targetname, die_stat->st_uid,
|
||||
die_stat->st_gid));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user