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>
Wed, 6 Jul 2022 19:23:38 +0000 (20:23 +0100)
commitebf7fab7b9113371ffce1903c35e890b3be7e18b
treec710e1e50368b6f25db611c14c6cbcff0d9e656c
parent42e037d1ed3f6f3eaef1ea2df121eabcd81597ba
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