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

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

Merge "Suppress -Wstring-plus-int warning" am: 63c89a37

am: c144802d

Change-Id: I7d6dd491fe56ea6a7af7bb8cd105ba616826fc40
parents f0ac9943 c144802d
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) {