Skip to content

Commit 95fcaf2

Browse files
committed
Fix -Wswitch warning in dir_list
1 parent 1330236 commit 95fcaf2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/common/config/dir_list.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,9 @@ bool DirectoryList::isPathInList(const PathName& path) const
221221
return false;
222222
case Full:
223223
return true;
224+
default:
225+
// not a special case, continue processing
226+
break;
224227
}
225228

226229
PathName varpath(path);

0 commit comments

Comments
 (0)