tweaks: silence a warning when configured with --enable-tiny

This commit is contained in:
Benno Schulenberg
2019-11-25 19:21:03 +01:00
parent 3ffefbfddc
commit af8ffa8c94

View File

@@ -1505,9 +1505,9 @@ bool write_file(const char *name, FILE *thefile, bool tmp,
#ifndef NANO_TINY
bool isactualfile = FALSE;
/* Becomes TRUE when the file is non-temporary and exists. */
#endif
struct stat st;
/* The status fields filled in by stat(). */
#endif
char *realname;
/* The filename after tilde expansion. */
char *tempname = NULL;