tweaks: strip a parameter that is equivalent to 'openfile' for both calls

This commit is contained in:
Benno Schulenberg
2020-03-08 12:54:47 +01:00
parent 01bc0148c0
commit 2428c5cbe6
3 changed files with 9 additions and 9 deletions

View File

@@ -593,7 +593,7 @@ void close_buffer(void)
free(orphan->current_stat);
free(orphan->lock_filename);
/* Free the undo stack. */
discard_until(NULL, orphan);
discard_until(NULL);
#endif
openfile = orphan->prev;