Fix for invalid comparision value 90/189390/14
authorRadoslaw Cybulski <r.cybulski@partner.samsung.com>
Mon, 17 Sep 2018 10:17:57 +0000 (12:17 +0200)
committerRadoslaw Cybulski <r.cybulski@partner.samsung.com>
Tue, 4 Jun 2019 14:30:26 +0000 (16:30 +0200)
Change-Id: I266b674e99acf3f532242392d889709d5fe7d97a

dali/internal/imaging/common/image-operations.cpp

index 2fdeb4f..b44a024 100755 (executable)
@@ -1470,7 +1470,7 @@ void DownscaleInPlacePow2( unsigned char * const pixels,
       }
       else
       {
-        DALI_ASSERT_DEBUG( false == "Inner branch conditions don't match outer branch." );
+        DALI_ASSERT_DEBUG( false && "Inner branch conditions don't match outer branch." );
       }
     }
   }
@@ -1726,7 +1726,7 @@ void PointSample( const unsigned char * inPixels,
     }
     else
     {
-      DALI_ASSERT_DEBUG( false == "Inner branch conditions don't match outer branch." );
+      DALI_ASSERT_DEBUG( 0 == "Inner branch conditions don't match outer branch." );
     }
   }
   else
@@ -2135,7 +2135,7 @@ void LinearSample( const unsigned char * __restrict__ inPixels,
     }
     else
     {
-      DALI_ASSERT_DEBUG( false == "Inner branch conditions don't match outer branch." );
+      DALI_ASSERT_DEBUG( 0 == "Inner branch conditions don't match outer branch." );
     }
   }
   else