mirror of
https://github.com/wiire-a/pixiewps.git
synced 2025-07-27 15:54:29 +02:00
Fixed unused variable warning in tomsfastmath
This commit is contained in:
parent
0d600e1600
commit
d6de90fb18
@ -13,7 +13,8 @@
|
||||
void fp_mul(fp_int *A, fp_int *B, fp_int *C)
|
||||
{
|
||||
int y, old_used;
|
||||
#if FP_SIZE >= 48
|
||||
#if FP_SIZE >= 48 && (defined(TFM_MUL24) || defined(TFM_MUL28) || \
|
||||
defined(TFM_MUL32) || defined(TFM_MUL48) || defined(TFM_MUL64))
|
||||
int yy;
|
||||
#endif
|
||||
|
||||
@ -26,7 +27,8 @@ void fp_mul(fp_int *A, fp_int *B, fp_int *C)
|
||||
}
|
||||
|
||||
y = MAX(A->used, B->used);
|
||||
#if FP_SIZE >= 48
|
||||
#if FP_SIZE >= 48 && (defined(TFM_MUL24) || defined(TFM_MUL28) || \
|
||||
defined(TFM_MUL32) || defined(TFM_MUL48) || defined(TFM_MUL64))
|
||||
yy = MIN(A->used, B->used);
|
||||
#endif
|
||||
/* pick a comba (unrolled 4/8/16/32 x or rolled) based on the size
|
||||
|
Loading…
x
Reference in New Issue
Block a user