From 0e4c227d62c30247cb09e40567b096ce0f3cbb57 Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Wed, 13 Jul 2011 14:44:39 +0100 Subject: [PATCH] rxkad: Suppress warnings for ticket5.c rxkad's ticket5.c includes v5gen.c, a generated file from Heimdal. This file contains a load of set-but-unused variable warnings. As we currently have no way of portably suppressing just these warnings, turn off warnings-as-errors for ticket5.c Change-Id: I739cee4f345523fce130c73c713c7309273f5bee Reviewed-on: http://gerrit.openafs.org/5003 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear --- README.WARNINGS | 1 + src/libafsrpc/Makefile.in | 1 + src/rxkad/Makefile.in | 1 + src/shlibafsrpc/Makefile.in | 1 + 4 files changed, 4 insertions(+) diff --git a/README.WARNINGS b/README.WARNINGS index 85eb9893e4..9c439aa924 100644 --- a/README.WARNINGS +++ b/README.WARNINGS @@ -58,6 +58,7 @@ libadmin/samples/rxstat_query_peer.c : all : util_RPCStatsStateGet types libadmin/samples/rxstat_query_process.c : all : util_RPCStatsStateGet types libadmin/test/client.c : all : util_RPCStatsStateGet types rx/rx.c : all (pthread) : rxkad_global_stats_init not proto'd +rxkad/ticket5.c : all : v5gen.c has set-but-unused variables ubik/ubikclient.c : strict-protos : ubik_Call volser/vol-dump.c : format : afs_sfsize_t diff --git a/src/libafsrpc/Makefile.in b/src/libafsrpc/Makefile.in index da516a9189..bb09400c9b 100644 --- a/src/libafsrpc/Makefile.in +++ b/src/libafsrpc/Makefile.in @@ -189,6 +189,7 @@ rxkad_common.o: ${RXKAD}/rxkad_common.c ticket.o: ${RXKAD}/ticket.c $(AFS_CCRULE) -I../rxkad $(RXKAD)/ticket.c +CFLAGS_ticket5.o = @CFLAGS_NOERROR@ ticket5.o: ${RXKAD}/ticket5.c $(AFS_CCRULE) -I../rxkad -I$(RXKAD) $(RXKAD)/ticket5.c diff --git a/src/rxkad/Makefile.in b/src/rxkad/Makefile.in index d402bc8d25..3788c18f4e 100644 --- a/src/rxkad/Makefile.in +++ b/src/rxkad/Makefile.in @@ -77,6 +77,7 @@ rxkad_errs.c rxkad.h: rxkad_errs.et rxkad.p.h ticket.o: ticket.c lifetimes.h ${INCLS} +CFLAGS_ticket5.o = @CFLAGS_NOERROR@ ticket5.o: ticket5.c v5gen.c v5der.c v5gen-rewrite.h ${INCLS} crc.o: crc.c ${INCLS} diff --git a/src/shlibafsrpc/Makefile.in b/src/shlibafsrpc/Makefile.in index d79a349f4b..9c5cfd0b04 100644 --- a/src/shlibafsrpc/Makefile.in +++ b/src/shlibafsrpc/Makefile.in @@ -207,6 +207,7 @@ rxkad_common.o: ${RXKAD}/rxkad_common.c ticket.o: ${RXKAD}/ticket.c $(AFS_CCRULE) -I../rxkad $(RXKAD)/ticket.c +CFLAGS_ticket5.o = @CFLAGS_NOERROR@ ticket5.o: ${RXKAD}/ticket5.c $(AFS_CCRULE) -I../rxkad -I$(RXKAD) $(RXKAD)/ticket5.c