LogInit: work around two Android compiler warnings
This commit is contained in:
parent
804ccddf7e
commit
9b1f44e758
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue