瀏覽代碼

remove surplus ';'

Steffen Jaeckel 11 年之前
父節點
當前提交
97256daeed
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/headers/tomcrypt_math.h

+ 1 - 1
src/headers/tomcrypt_math.h

@@ -521,7 +521,7 @@ extern const ltc_math_descriptor gmp_desc;
 
 #define mp_iszero(a)                 (mp_cmp_d(a, 0) == LTC_MP_EQ ? LTC_MP_YES : LTC_MP_NO)
 #define mp_isodd(a)                  (mp_get_digit_count(a) > 0 ? (mp_get_digit(a, 0) & 1 ? LTC_MP_YES : LTC_MP_NO) : LTC_MP_NO)
-#define mp_exch(a, b)                do { void *ABC__tmp = a; a = b; b = ABC__tmp; } while(0);
+#define mp_exch(a, b)                do { void *ABC__tmp = a; a = b; b = ABC__tmp; } while(0)
 
 #define mp_tohex(a, b)               mp_toradix(a, b, 16)