Commit d28ed53d authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

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
No related merge requests found
Showing with 4 additions and 0 deletions
+4 -0
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment