Mercurial > dwindows
diff win/dw.c @ 2091:68f1924fdd13
Restructure feature switch so fallback return is in the default case.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 11 Jun 2020 01:27:38 +0000 |
parents | cdb94c6fd611 |
children | 95b9c7780f3f |
line wrap: on
line diff
--- a/win/dw.c Thu Jun 11 01:11:23 2020 +0000 +++ b/win/dw.c Thu Jun 11 01:27:38 2020 +0000 @@ -13386,8 +13386,9 @@ break; } #endif + default: + return DW_FEATURE_UNSUPPORTED; } - return DW_FEATURE_UNSUPPORTED; } /* @@ -13429,7 +13430,8 @@ return DW_ERROR_NONE; } #endif + default: + return DW_FEATURE_UNSUPPORTED; } - return DW_FEATURE_UNSUPPORTED; -} - +} +