web_service: Silence -Wmaybe-uninitialized on httplib.h

merge-requests/60/head
ReinUsesLisp 2021-07-12 03:18:33 +07:00
parent 69214ef678
commit 4503a4ac43
1 changed files with 10 additions and 0 deletions

@ -8,7 +8,17 @@
#include <string>
#include <fmt/format.h>
#ifdef __GNUC__
#pragma GCC diagnostic push
#ifndef __clang__
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
#endif
#endif
#include <httplib.h>
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
#include "common/logging/log.h"
#include "web_service/web_backend.h"