tweaks: remove a redundant, enclosed #ifdef

master
Benno Schulenberg 2019-04-22 19:18:29 +02:00
parent 493f215513
commit 7668bfe6f2
1 changed files with 2 additions and 3 deletions

View File

@ -493,13 +493,12 @@ void copy_from_buffer(linestruct *somebuffer)
/* Unlink a node from the rest of the circular list, and delete it. */
void unlink_opennode(openfilestruct *fileptr)
{
#ifdef ENABLE_MULTIBUFFER
if (fileptr == firstfile)
firstfile = firstfile->next;
fileptr->prev->next = fileptr->next;
fileptr->next->prev = fileptr->prev;
#endif
delete_opennode(fileptr);
}
@ -516,7 +515,7 @@ void delete_opennode(openfilestruct *fileptr)
#endif
free(fileptr);
}
#endif
#endif /* ENABLE_MULTIBUFFER */
/* Display a warning about a key disabled in view mode. */
void print_view_warning(void)