Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c144802d authored by Yi Kong's avatar Yi Kong Committed by android-build-merger
Browse files

Merge "Suppress -Wstring-plus-int warning"

am: 63c89a37

Change-Id: I99867a9a01c569e4ca9316046775ca415f41a727
parents 0d8d105e 63c89a37
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -413,6 +413,8 @@ int __android_log_buf_write(int bufID, int prio, const char* tag, const char* ms
  if (!tag) tag = "";

  /* XXX: This needs to go! */
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wstring-plus-int"
  if (bufID != LOG_ID_RADIO) {
    switch (tag[0]) {
      case 'H':
@@ -454,6 +456,7 @@ int __android_log_buf_write(int bufID, int prio, const char* tag, const char* ms
        break;
    }
  }
#pragma clang diagnostic pop

#if __BIONIC__
  if (prio == ANDROID_LOG_FATAL) {