diff options
| author | Alexander Gavrilov | 2012-05-05 19:36:22 +0400 |
|---|---|---|
| committer | Alexander Gavrilov | 2012-05-05 19:36:22 +0400 |
| commit | e3440126a35750338fbc3f239b75d88b7cc2d7de (patch) | |
| tree | be3e1c9c86a490074d6bd089d4a001a239d692e0 /plugins/devel | |
| parent | 4e084d0df78e4807b30d7eed9efddce41b8bc555 (diff) | |
| download | dfhack-e3440126a35750338fbc3f239b75d88b7cc2d7de.tar.gz dfhack-e3440126a35750338fbc3f239b75d88b7cc2d7de.tar.bz2 dfhack-e3440126a35750338fbc3f239b75d88b7cc2d7de.tar.xz | |
Fix missing switch case warnings.
Diffstat (limited to 'plugins/devel')
| -rw-r--r-- | plugins/devel/stockcheck.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/devel/stockcheck.cpp b/plugins/devel/stockcheck.cpp index 8dc44e98..8ace55cd 100644 --- a/plugins/devel/stockcheck.cpp +++ b/plugins/devel/stockcheck.cpp @@ -187,7 +187,9 @@ static command_result stockcheck(color_ostream &out, vector <string> & parameter case general_ref_type::BUILDING_HOLDER: building = ref->getBuilding(); break; - + + default: + break; } } @@ -214,7 +216,9 @@ static command_result stockcheck(color_ostream &out, vector <string> & parameter case general_ref_type::BUILDING_HOLDER: building = ref->getBuilding(); break; - + + default: + break; } } } |
