From 5fc0746ac902dea7f5f8419b7eb735ccc0c54a10 Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Tue, 19 Feb 2013 10:15:33 +0000 Subject: [PATCH] hcrypto: Suppress empty body warning clang now complains about statements of the form if (blah) ; There's one of these in hcrypto. Until we can get this fixed upstream, just mark the file as no-error. Change-Id: I86d1362552ca9ee7b2c47a7c92bd8d6484ab7dbd Reviewed-on: http://gerrit.openafs.org/9134 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- README.WARNINGS | 1 + src/crypto/hcrypto/Makefile.in | 1 + 2 files changed, 2 insertions(+) diff --git a/README.WARNINGS b/README.WARNINGS index 4122d33..7a6abd6 100644 --- a/README.WARNINGS +++ b/README.WARNINGS @@ -49,6 +49,7 @@ bucoord/ubik_db_if.c : strict-proto : Ubik_Call bucoord/commands.c : all : Ubik_Call : signed vs unsigned for dates butc/tcudbprocs.c : all : ubik_Call +external/heimdal/hcrypto/validate.c: all: statement with empty body kauth/admin_tools.c : all : signed vs unsigned for dates kauth/authclient.c : strict-proto : ubik_Call nonsense libadmin/kas/afs_kasAdmin.c: all : Ubik_Call nonsense diff --git a/src/crypto/hcrypto/Makefile.in b/src/crypto/hcrypto/Makefile.in index 7c5ac22..1607333 100644 --- a/src/crypto/hcrypto/Makefile.in +++ b/src/crypto/hcrypto/Makefile.in @@ -158,6 +158,7 @@ ${TOP_LIBDIR}/libafshcrypto_lwp.a: libafshcrypto_lwp.a CFLAGS_test_cipher.o= -I${UPSTREAM}/roken/ CFLAGS_rand-unix.o=@CFLAGS_NOERROR@ +CFLAGS_validate.o=@CFLAGS_NOERROR@ CFLAGS_evp.o=-DHAVE_CONFIG_H aes.o: ${UPSTREAM}/hcrypto/aes.c ${HEADERS} -- 1.9.4