Merge "Fix misc-macro-parentheses warnings in DngCreator." am: d439efc361 am: cfae35a400
am: 86f5b560af
* commit '86f5b560af60d91ed67642bfb7392ba6a7cd45b4':
Fix misc-macro-parentheses warnings in DngCreator.
Change-Id: Id8b2d4ba5e721815dc612cbf349ceba8bbb32538
This commit is contained in:
@@ -74,7 +74,7 @@ using namespace img_utils;
|
||||
}
|
||||
|
||||
#define BAIL_IF_EMPTY_RET_NULL_SP(entry, jnienv, tagId, writer) \
|
||||
if (entry.count == 0) { \
|
||||
if ((entry).count == 0) { \
|
||||
jniThrowExceptionFmt(jnienv, "java/lang/IllegalArgumentException", \
|
||||
"Missing metadata fields for tag %s (%x)", (writer)->getTagName(tagId), (tagId)); \
|
||||
return nullptr; \
|
||||
|
||||
Reference in New Issue
Block a user