LogInit: work around two Android compiler warnings

This commit is contained in:
Max Kellermann 2018-10-30 13:23:07 +01:00
parent 804ccddf7e
commit 9b1f44e758

View File

@ -41,6 +41,7 @@
#define LOG_DATE_BUF_SIZE 16
#define LOG_DATE_LEN (LOG_DATE_BUF_SIZE - 1)
gcc_unused
static constexpr Domain log_domain("log");
#ifndef ANDROID
@ -121,6 +122,7 @@ void
log_init(const ConfigData &config, bool verbose, bool use_stdout)
{
#ifdef ANDROID
(void)config;
(void)verbose;
(void)use_stdout;
#else