浏览代码

ecc: fix compiler warnings

Steffen Jaeckel 12 年之前
父节点
当前提交
e531af7add
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/pk/ecc/ltc_ecc_mul2add.c

+ 2 - 2
src/pk/ecc/ltc_ecc_mul2add.c

@@ -40,9 +40,9 @@ int ltc_ecc_mul2add(ecc_point *A, void *kA,
                          void *modulus)
 {
   ecc_point     *precomp[16];
-  unsigned       bitbufA, bitbufB, lenA, lenB, len, y, nA, nB, nibble;
+  unsigned       bitbufA, bitbufB, lenA, lenB, len, x, y, nA, nB, nibble;
   unsigned char *tA, *tB;
-  int            err, first, x;
+  int            err, first;
   void          *mp, *mu;
  
   /* argchks */