Merge "Fix misc-macro-parentheses warnings in DngCreator." am: d439efc361 am: cfae35a400 am: 86f5b560af
am: 1099ea59c5
* commit '1099ea59c575f4445364359cfa74d9afb6d1dd4d':
Fix misc-macro-parentheses warnings in DngCreator.
Change-Id: I7ddd16cdf438ab53726ea546c86e6f9e9b6027ce
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