[ Service ] Remove unused variable in GetIsolateMetricList

TEST=N/A

Change-Id: I7e9eb8db64952a9f40d82514935beaced4bffdb8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/288102
Reviewed-by: Dan Chevalier <danchevalier@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
Reviewed-by: Brian Quinlan <bquinlan@google.com>
This commit is contained in:
Ben Konyi 2023-03-10 18:35:43 +00:00 committed by Commit Queue
parent b890ed4cc3
commit fadbd51c83

View file

@ -4048,11 +4048,8 @@ static const MethodParameter* const get_isolate_metric_list_params[] = {
};
static void GetIsolateMetricList(Thread* thread, JSONStream* js) {
bool native_metrics = false;
if (js->HasParam("type")) {
if (js->ParamIs("type", "Native")) {
native_metrics = true;
} else {
if (!js->ParamIs("type", "Native")) {
PrintInvalidParamError(js, "type");
return;
}