Warn if a local OMIT doesn't actually omit any weekdays.

This commit is contained in:
Dianne Skoll
2024-03-03 11:00:35 -05:00
parent 2dc6ca44f1
commit f4cce54b70

View File

@@ -679,6 +679,9 @@ static int ParseLocalOmit(ParsePtr s, Trigger *t)
break;
default:
if (t->localomit == NO_WD) {
Wprint("Warning: OMIT clause used in REM command, but no weekdays omitted");
}
PushToken(DBufValue(&buf), s);
DBufFree(&buf);
return OK;