forked from OSchip/llvm-project
[lldb/Editline] Fix a -Wreturn-type warning with gcc
This commit is contained in:
parent
532290e69f
commit
817d6184e7
|
@ -120,6 +120,7 @@ static int GetOperation(HistoryOperation op) {
|
||||||
case HistoryOperation::Newest:
|
case HistoryOperation::Newest:
|
||||||
return H_LAST;
|
return H_LAST;
|
||||||
}
|
}
|
||||||
|
llvm_unreachable("Fully covered switch!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue