Remove unused variable ex in initialize.cc (#376)

This commit is contained in:
Riatre Foo 2018-01-31 01:03:46 +08:00 committed by Fangrui Song
parent c8605dc4a9
commit ab2a836d57

View File

@ -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
} }