hcrypto: Suppress empty body warning
authorSimon Wilkinson <sxw@your-file-system.com>
Tue, 19 Feb 2013 10:15:33 +0000 (10:15 +0000)
committerDerrick Brashear <shadow@your-file-system.com>
Wed, 20 Feb 2013 12:15:36 +0000 (04:15 -0800)
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 <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>

README.WARNINGS
src/crypto/hcrypto/Makefile.in

index 4122d33..7a6abd6 100644 (file)
@@ -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
index 7c5ac22..1607333 100644 (file)
@@ -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}