diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2019-01-17 14:29:31 -0800 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-01-17 14:29:31 -0800 |
commit | ccb70374b5fefb578207841488b5b727e087918d (patch) | |
tree | c864ee4d828656ce93b2714d32218f8f94172627 | |
parent | bbed370da7c75b3e92adc4c9dce83df149b36838 (diff) | |
parent | a1d97c6536b970167c747d28cdb323042ea99f72 (diff) | |
download | dng_sdk-ccb70374b5fefb578207841488b5b727e087918d.tar.gz |
Fix occurrences of Wextra-semi-stmt am: c3dd9e5e06
am: a1d97c6536
Change-Id: I07696770963cbba75b545d591231c990429bd7e3
-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; |