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
1 changed files with 2 additions and 0 deletions

View File

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