This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16517] warn about variables that are only ever assigned to, but never read
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Jul 2004 13:22:33 -0000
- Subject: [Bug c++/16517] warn about variables that are only ever assigned to, but never read
- References: <20040713114911.16517.tneumann@pi3.informatik.uni-mannheim.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-07-13 13:22 -------
Confirmed. We should figure out if there are variables that are only
ever assigned to, but never read. I second the claim that this would
be really helpful, as it would have saved me some debugging time
before (assigned something from the wrong variable).
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-07-13 13:22:31
date| |
Summary|warn about unused assignment|warn about variables that
| |are only ever assigned to,
| |but never read
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16517