mirror of https://github.com/citusdata/citus.git
Remove missing declaration warning (#6330)
When I built Citus on PG15beta4 locally, I get a warning message. ``` utils/background_jobs.c:902:5: warning: declaration does not declare anything [-Wmissing-declarations] __attribute__((fallthrough)); ^ 1 warning generated. ``` This is a hint to the compiler that we are deliberately falling through in a switch-case block.upgrade_test
parent
f13b140621
commit
f34467dcb3
|
@ -899,9 +899,10 @@ ConsumeTaskWorkerOutput(shm_mq_handle *responseq, StringInfo message, bool *hadE
|
||||||
{
|
{
|
||||||
*hadError = true;
|
*hadError = true;
|
||||||
}
|
}
|
||||||
__attribute__((fallthrough));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* FALLTHROUGH */
|
||||||
|
|
||||||
case 'N': /* NoticeResponse */
|
case 'N': /* NoticeResponse */
|
||||||
{
|
{
|
||||||
ErrorData edata = { 0 };
|
ErrorData edata = { 0 };
|
||||||
|
|
Loading…
Reference in New Issue