From 9a5b2edc081701a776452be0f4ff3acbba3e9400 Mon Sep 17 00:00:00 2001 From: Alexander Rose <alexander.rose@weirdbyte.de> Date: Sat, 10 Sep 2022 15:39:07 -0700 Subject: [PATCH] cleanup unused variable --- src/mol-model-formats/structure/pdb/atom-site.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/mol-model-formats/structure/pdb/atom-site.ts b/src/mol-model-formats/structure/pdb/atom-site.ts index 21d5364d6..c8b1c9960 100644 --- a/src/mol-model-formats/structure/pdb/atom-site.ts +++ b/src/mol-model-formats/structure/pdb/atom-site.ts @@ -67,21 +67,17 @@ export function getAtomSite(sites: AtomSiteTemplate, terIndices: Set<number>): { const seqId = auth_seq_id.int(i); let atomId = auth_atom_id.str(i); - let asymIdChanged = false; - if (modelNum !== currModelNum) { asymIdCounts.clear(); atomIdCounts.clear(); currModelNum = modelNum; currAsymId = asymId; currSeqId = seqId; - asymIdChanged = true; currLabelAsymId = asymId; } else if (currAsymId !== asymId) { atomIdCounts.clear(); currAsymId = asymId; currSeqId = seqId; - asymIdChanged = true; currLabelAsymId = asymId; } else if (currSeqId !== seqId) { atomIdCounts.clear(); -- GitLab