Skip to content

Commit

Permalink
Remove unused variable ex in initialize.cc (MaskRay#376)
Browse files Browse the repository at this point in the history
  • Loading branch information
Riatre authored and MaskRay committed Jan 30, 2018
1 parent c8605dc commit ab2a836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/messages/initialize.cc
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ struct InitializeHandler : BaseMessageHandler<Ipc_InitializeRequest> {
JsonReader json_reader{&reader};
try {
Reflect(json_reader, *config);
} catch (std::invalid_argument& ex) {
} catch (std::invalid_argument&) {
// This will not trigger because parse error is handled in
// MessageRegistry::Parse in language_server_api.cc
}
Expand Down

0 comments on commit ab2a836

Please sign in to comment.