YACA: remove semicolon from macros' end 15/80115/1
authorMateusz Forc <m.forc@samsung.com>
Thu, 14 Jul 2016 11:18:05 +0000 (13:18 +0200)
committerMateusz Forc <m.forc@samsung.com>
Thu, 14 Jul 2016 14:46:29 +0000 (16:46 +0200)
Change-Id: I64c5db35a91c6c703a3a233dc0b104268318afd5

src/yaca/yaca-test-common.h

index 9303d9d..458d97a 100644 (file)
@@ -102,11 +102,11 @@ do {                                                                           \
     YACA_ASSERT_MSG(ret == (expected),                                         \
                     "Expected: " << yaca_error((expected)) <<                  \
                     " got: " << yaca_error(ret) );                             \
-} while(0);
+} while(0)
 
-#define YACA_SUCCESS(func) YACA_RESULT(YACA_ERROR_NONE, func);
+#define YACA_SUCCESS(func) YACA_RESULT(YACA_ERROR_NONE, func)
 
-#define YACA_INVALID_PARAM(func) YACA_RESULT(YACA_ERROR_INVALID_PARAMETER, func);
+#define YACA_INVALID_PARAM(func) YACA_RESULT(YACA_ERROR_INVALID_PARAMETER, func)
 
 typedef std::unique_ptr<char, void (*)(void*)> ChrPtr;
 typedef std::unique_ptr<yaca_key_s, void (*)(yaca_key_h)> KeyPtr;