Merge pull request #6615 from ReinUsesLisp/httplib-debug-warnings

boxcat,web_service: Silence -Wmaybe-uninitialized when including httplib.h
This commit is contained in:
bunnei 2021-07-12 22:11:19 -07:00 committed by GitHub
commit b8becb0608
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

View file

@ -7,6 +7,9 @@
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wshadow"
#ifndef __clang__
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
#endif
#endif
#include <httplib.h>
#include <mbedtls/sha256.h>