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)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Sun, 5 Jun 2022 15:57:39 +0000 (15:57 +0000)
commitb547241728487c0dca22780241b04964f2eb37af
tree14ff2d8d0c86c3ce33bd854b0c386fd5413c499b
parentc9bd01ae902d66acd8647a1cc0167bc0d246cbc8
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.
src/journal-remote/microhttpd-util.c