Remove useless sizeof(uint32_t) == 4 test

This commit is contained in:
Felipe Oliveira Carvalho 2014-03-12 20:00:22 -03:00 committed by Thiago de Arruda
parent d38b6933e2
commit d012255ee1

View File

@ -461,14 +461,6 @@ static int bf_self_test(void) {
int i, bn;
int err = 0;
block8 bk;
uint32_t ui = 0xffffffffUL;
/* We can't simply use sizeof(uint32_t), it would generate a compiler
* warning. */
if (ui != 0xffffffffUL || ui + 1 != 0) {
err++;
EMSG(_("E820: sizeof(uint32_t) != 4"));
}
if (!bf_check_tables(ipa, sbi, 0x6ffa520a))
err++;