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
Hanefi Onaldi 2022-09-13 13:48:51 +03:00 committed by GitHub
parent f13b140621
commit f34467dcb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -899,9 +899,10 @@ ConsumeTaskWorkerOutput(shm_mq_handle *responseq, StringInfo message, bool *hadE
{
*hadError = true;
}
__attribute__((fallthrough));
}
/* FALLTHROUGH */
case 'N': /* NoticeResponse */
{
ErrorData edata = { 0 };