Merge "Suppress -Wstring-plus-int warning"
am: 63c89a37fd
Change-Id: I99867a9a01c569e4ca9316046775ca415f41a727
This commit is contained in:
commit
c144802d6b
1 changed files with 3 additions and 0 deletions
|
|
@ -413,6 +413,8 @@ int __android_log_buf_write(int bufID, int prio, const char* tag, const char* ms
|
||||||
if (!tag) tag = "";
|
if (!tag) tag = "";
|
||||||
|
|
||||||
/* XXX: This needs to go! */
|
/* XXX: This needs to go! */
|
||||||
|
#pragma clang diagnostic push
|
||||||
|
#pragma clang diagnostic ignored "-Wstring-plus-int"
|
||||||
if (bufID != LOG_ID_RADIO) {
|
if (bufID != LOG_ID_RADIO) {
|
||||||
switch (tag[0]) {
|
switch (tag[0]) {
|
||||||
case 'H':
|
case 'H':
|
||||||
|
|
@ -454,6 +456,7 @@ int __android_log_buf_write(int bufID, int prio, const char* tag, const char* ms
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
|
||||||
#if __BIONIC__
|
#if __BIONIC__
|
||||||
if (prio == ANDROID_LOG_FATAL) {
|
if (prio == ANDROID_LOG_FATAL) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue