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 <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Simon Wilkinson 2011-07-13 14:44:39 +01:00 committed by Derrick Brashear
parent 6840d8dfb8
commit 0e4c227d62
4 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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}

View File

@ -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