From e0ca413c54538f979ecd416eb9f38c5e9f303751 Mon Sep 17 00:00:00 2001
From: yakomaxa <47655565+yakomaxa@users.noreply.github.com>
Date: Sun, 21 Aug 2022 10:42:32 +0900
Subject: [PATCH] Remove needless substitutions to a temporary variable x

---
 src/mol-model/structure/query/queries/atom-set.ts | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/mol-model/structure/query/queries/atom-set.ts b/src/mol-model/structure/query/queries/atom-set.ts
index 97039e891..2043bb2bc 100644
--- a/src/mol-model/structure/query/queries/atom-set.ts
+++ b/src/mol-model/structure/query/queries/atom-set.ts
@@ -23,16 +23,14 @@ export function atomCount(ctx: QueryContext) {
 export function countQuery(query: StructureQuery) {
     return (ctx: QueryContext) => {
         const sel = query(ctx);
-        const x: number = StructureSelection.structureCount(sel);
-        return x;
+        return StructureSelection.structureCount(sel);
     };
 }
 
 export function propertySet(prop: QueryFn<any>) {
     return (ctx: QueryContext) => {
         const set = new Set();
-        const x = getCurrentStructureProperties(ctx, prop, set);
-        return x;
+        return getCurrentStructureProperties(ctx, prop, set);
     };
 }
 
-- 
GitLab