diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2019-01-17 14:19:58 -0800 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-01-17 14:19:58 -0800 |
commit | a1d97c6536b970167c747d28cdb323042ea99f72 (patch) | |
tree | c864ee4d828656ce93b2714d32218f8f94172627 | |
parent | e152f6b89dfb8161d44389ba4b2230342a25f789 (diff) | |
parent | c3dd9e5e066667cc8f645aedca79212b8860d46d (diff) | |
download | dng_sdk-a1d97c6536b970167c747d28cdb323042ea99f72.tar.gz |
Fix occurrences of Wextra-semi-stmt
am: c3dd9e5e06
Change-Id: Idc6a28cf95243295aa6489ca6a8707022e5cbca1
-rw-r--r-- | source/dng_assertions.h | 2 | ||||
-rw-r--r-- | source/dng_mosaic_info.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/dng_assertions.h b/source/dng_assertions.h index dc998fa..0377350 100644 --- a/source/dng_assertions.h +++ b/source/dng_assertions.h @@ -59,7 +59,7 @@ void dng_show_message_f (const char *fmt, ...); /// \param x Predicate which must be true. /// \param y String to display if x is not true. -#define DNG_ASSERT(x,y) +#define DNG_ASSERT(x,y) do { } while(false) #endif #endif diff --git a/source/dng_mosaic_info.cpp b/source/dng_mosaic_info.cpp index 0a51d9b..dde2e31 100644 --- a/source/dng_mosaic_info.cpp +++ b/source/dng_mosaic_info.cpp @@ -104,7 +104,7 @@ void dng_bilinear_kernel::Add (const dng_point &delta, // Add element to list. - DNG_ASSERT (fCount < kMaxCount, "Too many kernel entries") + DNG_ASSERT (fCount < kMaxCount, "Too many kernel entries"); fDelta [fCount] = delta; fWeight32 [fCount] = weight; |