mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-26 17:41:58 +00:00
Remove unused variable ex
in initialize.cc (#376)
This commit is contained in:
parent
c8605dc4a9
commit
ab2a836d57
@ -496,7 +496,7 @@ struct InitializeHandler : BaseMessageHandler<Ipc_InitializeRequest> {
|
|||||||
JsonReader json_reader{&reader};
|
JsonReader json_reader{&reader};
|
||||||
try {
|
try {
|
||||||
Reflect(json_reader, *config);
|
Reflect(json_reader, *config);
|
||||||
} catch (std::invalid_argument& ex) {
|
} catch (std::invalid_argument&) {
|
||||||
// This will not trigger because parse error is handled in
|
// This will not trigger because parse error is handled in
|
||||||
// MessageRegistry::Parse in language_server_api.cc
|
// MessageRegistry::Parse in language_server_api.cc
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user