Enable warning-free compilation even with -Wextra.

This commit is contained in:
Dianne Skoll
2019-11-04 16:35:14 -05:00
parent 74a6041760
commit 3095fd7e4a
10 changed files with 33 additions and 18 deletions
+2 -2
View File
@@ -68,7 +68,7 @@ int DoRem(ParsePtr p)
if (trig.typ == SAT_TYPE) {
PurgeEchoLine("%s\n", "#!P: Cannot purge SATISFY-type reminders");
PurgeEchoLine("%s\n", CurLine);
r=DoSatRemind(&trig, &tim, p);
r=DoSatRemind(&trig, p);
if (r) {
FreeTrig(&trig);
if (r == E_EXPIRED) return OK;
@@ -1019,7 +1019,7 @@ int ShouldTriggerReminder(Trigger *t, TimeTrig *tim, int jul, int *err)
/* Do the "satisfying..." remind calculation. */
/* */
/***************************************************************/
int DoSatRemind(Trigger *trig, TimeTrig *tim, ParsePtr p)
int DoSatRemind(Trigger *trig, ParsePtr p)
{
int iter, jul, r;
Value v;