diff options
| author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-09-19 13:39:10 +0000 |
|---|---|---|
| committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-09-19 13:39:10 +0000 |
| commit | f60bd4a6c78723fa75f98e00e069659e4b5dc7b3 (patch) | |
| tree | 923b7f25e39f6b01258cfeb1721e12e7bd3e602e /gcc/c-lang.c | |
| parent | 9dce90467f4a34684fd33d78b43d0d97c0b2496f (diff) | |
| download | ppe42-gcc-f60bd4a6c78723fa75f98e00e069659e4b5dc7b3.tar.gz ppe42-gcc-f60bd4a6c78723fa75f98e00e069659e4b5dc7b3.zip | |
* stmt.c (expand_expr_stmt): Only call warn_if_unused_value
if the tree has side effects.
(warn_if_unused_value): Do not warn about void constructs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36532 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-lang.c')
0 files changed, 0 insertions, 0 deletions

