tweaks: avoid an unused-variable warning when using --disable-comment
parent
8f89e23adb
commit
5cdadc3eb1
|
@ -1140,7 +1140,9 @@ bool execute_command(const char *command)
|
||||||
void discard_until(const undo *thisitem, openfilestruct *thefile)
|
void discard_until(const undo *thisitem, openfilestruct *thefile)
|
||||||
{
|
{
|
||||||
undo *dropit = thefile->undotop;
|
undo *dropit = thefile->undotop;
|
||||||
|
#ifdef ENABLE_COMMENT
|
||||||
undo_group *group;
|
undo_group *group;
|
||||||
|
#endif
|
||||||
|
|
||||||
while (dropit != NULL && dropit != thisitem) {
|
while (dropit != NULL && dropit != thisitem) {
|
||||||
thefile->undotop = dropit->next;
|
thefile->undotop = dropit->next;
|
||||||
|
|
Loading…
Reference in New Issue