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

Commit cfae35a4 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh Committed by android-build-merger
Browse files

Merge "Fix misc-macro-parentheses warnings in DngCreator."

am: d439efc3

* commit 'd439efc3':
  Fix misc-macro-parentheses warnings in DngCreator.

Change-Id: I5fd1127ff3efde3b44ac6d358d48665f89d54e01
parents f1187008 d439efc3
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -74,7 +74,7 @@ using namespace img_utils;
    }
    }


#define BAIL_IF_EMPTY_RET_NULL_SP(entry, jnienv, tagId, writer) \
#define BAIL_IF_EMPTY_RET_NULL_SP(entry, jnienv, tagId, writer) \
    if (entry.count == 0) { \
    if ((entry).count == 0) { \
        jniThrowExceptionFmt(jnienv, "java/lang/IllegalArgumentException", \
        jniThrowExceptionFmt(jnienv, "java/lang/IllegalArgumentException", \
                "Missing metadata fields for tag %s (%x)", (writer)->getTagName(tagId), (tagId)); \
                "Missing metadata fields for tag %s (%x)", (writer)->getTagName(tagId), (tagId)); \
        return nullptr; \
        return nullptr; \