mirror of https://github.com/citusdata/citus.git
Fix warnings
parent
780d9da1c6
commit
8b672421a2
|
@ -2817,7 +2817,7 @@ JobTasksStatusCount(int64 jobId, int *scheduled, int *running, int *done, int *e
|
|||
CLEAR_OPTIONAL_COUNTER(error);
|
||||
CLEAR_OPTIONAL_COUNTER(unscheduled);
|
||||
|
||||
#undef CLEAR_OPTIONAL_COUNTER;
|
||||
#undef CLEAR_OPTIONAL_COUNTER
|
||||
|
||||
Relation pgDistBackgroundTasks =
|
||||
table_open(DistBackgroundTasksRelationId(), RowExclusiveLock);
|
||||
|
@ -2851,7 +2851,7 @@ JobTasksStatusCount(int64 jobId, int *scheduled, int *running, int *done, int *e
|
|||
#define INCREMENT_OPTIONAL_COUNTER(counter) \
|
||||
if (counter) \
|
||||
{ \
|
||||
*counter = (*counter)++; \
|
||||
(*counter)++; \
|
||||
}
|
||||
|
||||
switch (status)
|
||||
|
|
|
@ -487,8 +487,7 @@ ConsumeTaskWorkerOutput(shm_mq_handle *responseq, BackgroundTask *task, bool *ha
|
|||
{
|
||||
*hadError = true;
|
||||
}
|
||||
|
||||
/* fall-through */
|
||||
__attribute__((fallthrough));
|
||||
}
|
||||
|
||||
case 'N': /* NOTICE */
|
||||
|
|
Loading…
Reference in New Issue