Open Quuxplusone opened 6 years ago
Bugzilla Link | PR38028 |
Status | NEW |
Importance | P normal |
Reported by | Vladimir Pervouchine (vpervouchine@gmail.com) |
Reported on | 2018-07-03 00:33:51 -0700 |
Last modified on | 2018-07-11 02:07:35 -0700 |
Version | 6.0 |
Hardware | PC Linux |
CC | blitzrakete@gmail.com |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
I can't say anything about the first one, but the latter case is a feature, not a bug.
Normally, if you have an unused variable, you could remove it to silence the warning. But in a structured binding, you can't (you can't even use [[maybe_unused]]) and IIRC this was an explicit design decision.