Mercurial > dwindows
comparison mac/dw.m @ 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 | 296a3872ddd9 |
comparison
equal
deleted
inserted
replaced
2090:cdb94c6fd611 | 2091:68f1924fdd13 |
---|---|
12641 return DW_FEATURE_DISABLED; | 12641 return DW_FEATURE_DISABLED; |
12642 } | 12642 } |
12643 return DW_FEATURE_ENABLED; | 12643 return DW_FEATURE_ENABLED; |
12644 } | 12644 } |
12645 #endif | 12645 #endif |
12646 } | 12646 default: |
12647 return DW_FEATURE_UNSUPPORTED; | 12647 return DW_FEATURE_UNSUPPORTED; |
12648 } | |
12648 } | 12649 } |
12649 | 12650 |
12650 /* | 12651 /* |
12651 * Sets the state of the requested library feature. | 12652 * Sets the state of the requested library feature. |
12652 * Parameters: | 12653 * Parameters: |
12690 else | 12691 else |
12691 return DW_ERROR_GENERAL; | 12692 return DW_ERROR_GENERAL; |
12692 return DW_ERROR_NONE; | 12693 return DW_ERROR_NONE; |
12693 } | 12694 } |
12694 #endif | 12695 #endif |
12695 } | 12696 default: |
12696 return DW_FEATURE_UNSUPPORTED; | 12697 return DW_FEATURE_UNSUPPORTED; |
12697 } | 12698 } |
12699 } |