Skip to content

Commit 817d618

Browse files
committed
[lldb/Editline] Fix a -Wreturn-type warning with gcc
1 parent 532290e commit 817d618

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lldb/source/Host/common/Editline.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ static int GetOperation(HistoryOperation op) {
120120
case HistoryOperation::Newest:
121121
return H_LAST;
122122
}
123+
llvm_unreachable("Fully covered switch!");
123124
}
124125

125126

0 commit comments

Comments
 (0)