Closed ma8ma closed 11 months ago
switch文で明示的に処理されていない列挙型の値があるとコンパイラーに指摘されたため追加します。
clang-17のレポート (file pathを一部省略)
src/jdlib/jdsocket.cpp:252:13: warning: enumeration values 'none' and 'http' not explicitly handled in switch [-Wswitch-enum] 252 | switch( protocol ) { | ^~~~~~~~ src/article/articleviewbase.cpp:2417:21: warning: enumeration value 'unknown' not explicitly handled in switch [-Wswitch-enum] 2417 | switch( enc ) | ^~~
switch文で明示的に処理されていない列挙型の値があるとコンパイラーに指摘されたため追加します。
clang-17のレポート (file pathを一部省略)