mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 00:39:49 +00:00
[ 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:
parent
b890ed4cc3
commit
fadbd51c83
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue