mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-12 15:04:26 +01:00
Enable more compiler warnings in tests/Makefile
tests/Makefile had some unused warnings disabled unnecessarily, which test-ref-configs.pl was turning back on. We don't need to disable these warnings so I'm turning them back on.
This commit is contained in:
parent
638dceb7e1
commit
032e3e215d
@ -3,7 +3,7 @@
|
|||||||
# To compile with PKCS11: add "-lpkcs11-helper" to LDFLAGS
|
# To compile with PKCS11: add "-lpkcs11-helper" to LDFLAGS
|
||||||
|
|
||||||
CFLAGS ?= -O2
|
CFLAGS ?= -O2
|
||||||
WARNING_CFLAGS ?= -Wall -W -Wdeclaration-after-statement -Wno-unused-function -Wno-unused-value
|
WARNING_CFLAGS ?= -Wall -W -Wdeclaration-after-statement -Wunused
|
||||||
LDFLAGS ?=
|
LDFLAGS ?=
|
||||||
|
|
||||||
LOCAL_CFLAGS = $(WARNING_CFLAGS) -I../include -D_FILE_OFFSET_BITS=64
|
LOCAL_CFLAGS = $(WARNING_CFLAGS) -I../include -D_FILE_OFFSET_BITS=64
|
||||||
|
@ -424,10 +424,3 @@ int rnd_pseudo_rand( void *rng_state, unsigned char *output, size_t len )
|
|||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
static void test_fail( const char *test, int line_no, const char* filename )
|
|
||||||
{
|
|
||||||
test_info.failed = 1;
|
|
||||||
test_info.test = test;
|
|
||||||
test_info.line_no = line_no;
|
|
||||||
test_info.filename = filename;
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user