From 7372776f735cd73300a96a54e2b8e3c16588312e Mon Sep 17 00:00:00 2001 From: Richard Brooksby Date: Tue, 21 Aug 2012 16:21:19 +0100 Subject: [PATCH] Removing obsolete warning avoidance on freebsd. Copied from Perforce Change: 178995 ServerID: perforce.ravenbrook.com --- mps/code/eventcnv.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/mps/code/eventcnv.c b/mps/code/eventcnv.c index 2b98b4b7e01..6ea83810985 100644 --- a/mps/code/eventcnv.c +++ b/mps/code/eventcnv.c @@ -608,16 +608,11 @@ int main(int argc, char *argv[]) EventProc proc; Res res; -#if !defined(MPS_OS_FR) - /* GCC -ansi -pedantic -Werror on FreeBSD will fail here - * with the warning "statement with no effect". */ - assert(CHECKCONV(ulongest_t, Word)); assert(CHECKCONV(ulongest_t, Addr)); assert(CHECKCONV(ulongest_t, void *)); assert(CHECKCONV(unsigned, EventCode)); assert(CHECKCONV(Addr, void *)); /* for labelled pointers */ -#endif filename = parseArgs(argc, argv);