mirror of git://git.sv.gnu.org/nano.git
Adding a dummy if to silence a compiler warning. Patch by Mike Frysinger.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4703 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
7a8bd82af5
commit
d28ed53db1
|
@ -1,6 +1,8 @@
|
|||
2014-04-02 Mike Frysinger <vapier@gentoo.org>
|
||||
* doc/man/{,fr}/Makefile.am: Simplify the man rules still further.
|
||||
* .gitignore: Add 'config.cache', created by './configure -C'.
|
||||
* src/nano.c (die_save_file): Newer gcc warns about set-but-unused
|
||||
variables, so add a dummy if() check to kill that off.
|
||||
|
||||
2014-03-31 Chris Allegretta <chrisa@asty.org>
|
||||
* doc/syntax/go.nanorc: basic go syntax highlighting
|
||||
|
|
|
@ -723,6 +723,8 @@ void die_save_file(const char *die_filename
|
|||
int shush;
|
||||
shush = chmod(retval, die_stat->st_mode);
|
||||
shush = chown(retval, die_stat->st_uid, die_stat->st_gid);
|
||||
if (shush)
|
||||
;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue