Fix SkTDynamicHash.h:183:29: warning: equality comparison with extraneous parentheses...
authordongseong.hwang <dongseong.hwang@intel.com>
Tue, 28 Apr 2015 19:26:52 +0000 (12:26 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 28 Apr 2015 19:26:52 +0000 (12:26 -0700)
Review URL: https://codereview.chromium.org/1115433004

src/core/SkTDynamicHash.h

index 23544c8..8def89b 100644 (file)
@@ -161,7 +161,7 @@ private:
     static T* Deleted() { return reinterpret_cast<T*>(1); }  // Also an invalid pointer.
 
     bool validate() const {
-        #define SKTDYNAMICHASH_CHECK(x) SkASSERT((x)); if (!(x)) return false
+        #define SKTDYNAMICHASH_CHECK(x) SkASSERT(x); if (!(x)) return false
         static const int kLarge = 50;  // Arbitrary, tweak to suit your patience.
 
         // O(1) checks, always done.