shared/microhttp-util: silence gcc warning
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 5 Jun 2022 08:24:15 +0000 (10:24 +0200)
committerMichael Biebl <biebl@debian.org>
Tue, 28 Jun 2022 12:33:37 +0000 (13:33 +0100)
commit41b1abf4f764ab704b70430d6664c723560d0ba2
tree9a57b97d9303df28810a082e88af0c3adbc5cce8
parentfe20f64e004cf9cd444f5796fa0e1d56833edffe
shared/microhttp-util: silence gcc warning

../src/journal-remote/microhttpd-util.c: In function ‘check_permissions’:
../src/journal-remote/microhttpd-util.c:301:5: error: function might be candidate for attribute ‘noreturn’ [-Werror=suggest-attribute=noreturn]
  301 | int check_permissions(struct MHD_Connection *connection, int *code, char **hostname) {
      |     ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

Fixes #23630.

(cherry picked from commit b547241728487c0dca22780241b04964f2eb37af)

Gbp-Pq: Name shared-microhttp-util-silence-gcc-warning.patch
src/journal-remote/microhttpd-util.c