mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-29 11:01:57 +00:00
Fix some warnings due to missing returns
This commit is contained in:
parent
39fbd1a2d5
commit
ee87d6cb97
@ -150,6 +150,8 @@ lsSymbolKind GetSymbolKind(CXIdxEntityKind kind) {
|
|||||||
case CXIdxEntity_CXXInterface:
|
case CXIdxEntity_CXXInterface:
|
||||||
return lsSymbolKind::Struct;
|
return lsSymbolKind::Struct;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return lsSymbolKind::Unknown;
|
||||||
}
|
}
|
||||||
|
|
||||||
StorageClass GetStorageClass(CX_StorageClass storage) {
|
StorageClass GetStorageClass(CX_StorageClass storage) {
|
||||||
@ -170,6 +172,8 @@ StorageClass GetStorageClass(CX_StorageClass storage) {
|
|||||||
case CX_SC_Register:
|
case CX_SC_Register:
|
||||||
return StorageClass::Register;
|
return StorageClass::Register;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return StorageClass::None;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Caches all instances of constructors, regardless if they are indexed or not.
|
// Caches all instances of constructors, regardless if they are indexed or not.
|
||||||
|
Loading…
Reference in New Issue
Block a user