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

Commit 67ff9818 authored by Krzysztof Wesolowski's avatar Krzysztof Wesolowski Committed by android-build-merger
Browse files

Merge "Improve ALOGV compatiblity with clang-tidy" am: 854eb6cf

am: 1e45dfdb

Change-Id: I60ed32e902eca0ead86c69239d85b59949820c32
parents 239b23f6 1e45dfdb
Loading
Loading
Loading
Loading
+4 −2
Original line number Original line Diff line number Diff line
@@ -17,6 +17,8 @@
#ifndef _LIBS_LOG_LOG_MAIN_H
#ifndef _LIBS_LOG_LOG_MAIN_H
#define _LIBS_LOG_LOG_MAIN_H
#define _LIBS_LOG_LOG_MAIN_H


#include <stdbool.h>

#include <android/log.h>
#include <android/log.h>
#include <sys/cdefs.h>
#include <sys/cdefs.h>


@@ -175,10 +177,10 @@ __BEGIN_DECLS
#if LOG_NDEBUG
#if LOG_NDEBUG
#define ALOGV(...)          \
#define ALOGV(...)          \
  do {                      \
  do {                      \
    if (0) {                \
    if (false) {            \
      __ALOGV(__VA_ARGS__); \
      __ALOGV(__VA_ARGS__); \
    }                       \
    }                       \
  } while (0)
  } while (false)
#else
#else
#define ALOGV(...) __ALOGV(__VA_ARGS__)
#define ALOGV(...) __ALOGV(__VA_ARGS__)
#endif
#endif