On Fri, Feb 24, 2017 at 12:08 AM, Harendra Kumar <harendra.kumar@gmail.com> wrote:
I wish the compiler would report an error something like

"<location>: possibly failing match deleted
             because it binds no live variables"

Note that I showed the warning -Wall gives you earlier. -Werror also works... and, while I don't think it's in 8.0.x yet, future versions will allow selective conversions of warnings to errors.

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net