X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbitboard.cpp;h=a73c5a2dc7ad970d6c8f16275ead918d2af46ac1;hp=f7a6ba27626e114b065aa23d7efdd6895dda7d5e;hb=b1e79fed99d52dcb20d2d6a9c62522226e957963;hpb=3376c68f4bb83dc9fd874eb9d710dab09609ae54 diff --git a/src/bitboard.cpp b/src/bitboard.cpp index f7a6ba27..a73c5a2d 100644 --- a/src/bitboard.cpp +++ b/src/bitboard.cpp @@ -340,7 +340,7 @@ Square pop_1st_bit(Bitboard *b) { #endif -#else +#else // defined(USE_FOLDED_BITSCAN) static const int BitTable[64] = { 0, 1, 2, 7, 3, 13, 8, 19, 4, 25, 14, 28, 9, 34, 20, 40, 5, 17, 26, 38, 15, @@ -461,7 +461,7 @@ namespace { Bitboard index_to_bitboard(int index, Bitboard mask) { - int i, j, bits = count_1s(mask); + int i, j, bits = count_1s(mask); Bitboard result = 0ULL; for(i = 0; i < bits; i++) { j = pop_1st_bit(&mask);