diff options
| author | Richard Brooksby | 2012-08-22 08:03:05 +0100 |
|---|---|---|
| committer | Richard Brooksby | 2012-08-22 08:03:05 +0100 |
| commit | f6d71a6ee99e168ae50119291d0044cbbc78d22f (patch) | |
| tree | b049dddf5d75f32120e32d70cfc46f6fd5b9dcac /mps/code | |
| parent | f8dcadb1b15d193997dc3e3473cb2bb7227fcc78 (diff) | |
| download | emacs-f6d71a6ee99e168ae50119291d0044cbbc78d22f.tar.gz emacs-f6d71a6ee99e168ae50119291d0044cbbc78d22f.zip | |
Removing unnecessary warning suppression for gcc on freebsd.
Copied from Perforce
Change: 179013
ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code')
| -rw-r--r-- | mps/code/eventcnv.c | 5 | ||||
| -rw-r--r-- | mps/code/eventpro.c | 4 |
2 files changed, 0 insertions, 9 deletions
diff --git a/mps/code/eventcnv.c b/mps/code/eventcnv.c index 0f71680becd..3414bafde9b 100644 --- a/mps/code/eventcnv.c +++ b/mps/code/eventcnv.c | |||
| @@ -606,16 +606,11 @@ int main(int argc, char *argv[]) | |||
| 606 | EventProc proc; | 606 | EventProc proc; |
| 607 | Res res; | 607 | Res res; |
| 608 | 608 | ||
| 609 | #if !defined(MPS_OS_FR) | ||
| 610 | /* GCC -ansi -pedantic -Werror on FreeBSD will fail here | ||
| 611 | * with the warning "statement with no effect". */ | ||
| 612 | |||
| 613 | assert(CHECKCONV(ulongest_t, Word)); | 609 | assert(CHECKCONV(ulongest_t, Word)); |
| 614 | assert(CHECKCONV(ulongest_t, Addr)); | 610 | assert(CHECKCONV(ulongest_t, Addr)); |
| 615 | assert(CHECKCONV(ulongest_t, void *)); | 611 | assert(CHECKCONV(ulongest_t, void *)); |
| 616 | assert(CHECKCONV(ulongest_t, EventCode)); | 612 | assert(CHECKCONV(ulongest_t, EventCode)); |
| 617 | assert(CHECKCONV(Addr, void *)); /* for labelled pointers */ | 613 | assert(CHECKCONV(Addr, void *)); /* for labelled pointers */ |
| 618 | #endif | ||
| 619 | 614 | ||
| 620 | filename = parseArgs(argc, argv); | 615 | filename = parseArgs(argc, argv); |
| 621 | 616 | ||
diff --git a/mps/code/eventpro.c b/mps/code/eventpro.c index 1c1e498fc10..07faea3226e 100644 --- a/mps/code/eventpro.c +++ b/mps/code/eventpro.c | |||
| @@ -410,11 +410,7 @@ Res EventProcCreate(EventProc *procReturn, Bool partial, | |||
| 410 | assert(CHECKFIELD(EventUnion, any.code, EventInternStruct, code)); | 410 | assert(CHECKFIELD(EventUnion, any.code, EventInternStruct, code)); |
| 411 | assert(CHECKFIELD(EventUnion, any.clock, EventInternStruct, clock)); | 411 | assert(CHECKFIELD(EventUnion, any.clock, EventInternStruct, clock)); |
| 412 | /* check use of labelTable */ | 412 | /* check use of labelTable */ |
| 413 | #if !defined(MPS_OS_FR) | ||
| 414 | /* GCC -ansi -pedantic -Werror on FreeBSD will fail here | ||
| 415 | * with the warning "statement with no effect". */ | ||
| 416 | assert(sizeof(Word) >= sizeof(Addr)); | 413 | assert(sizeof(Word) >= sizeof(Addr)); |
| 417 | #endif | ||
| 418 | 414 | ||
| 419 | proc->partialLog = partial; | 415 | proc->partialLog = partial; |
| 420 | proc->reader = reader; proc->readerP = readerP; | 416 | proc->reader = reader; proc->readerP = readerP; |