HomePhabricator

fix warning: X enumeration values not handled in switch [-Wswitch-enum]
225f222c9fbaUnpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

fix warning: X enumeration values not handled in switch [-Wswitch-enum]

Add default cases to opcode switches to assert that they should never
occur.

Signed-off-by: Giel van Schijndel <me@mortis.eu>

Details

Provenance
Giel van Schijndel <me@mortis.eu>Authored on Jun 24 2011, 18:47
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGINGd7f1d200ab5d: fix warning: comparison of unsigned expression < 0 is always false…
Branches
Unknown
Tags
Unknown

Event Timeline

Giel van Schijndel <me@mortis.eu> committed rSTAGING225f222c9fba: fix warning: X enumeration values not handled in switch [-Wswitch-enum] (authored by Giel van Schijndel <me@mortis.eu>).Jul 13 2011, 03:10