# HG changeset patch # User Paul Boddie # Date 1636071374 -3600 # Node ID 6711c02b1d821618af2eaa85570046ab76e27635 # Parent 16ecb996eb96c54f414d3201ae2a20b250655917 Removed superfluous statements. diff -r 16ecb996eb96 -r 6711c02b1d82 transresults.py --- a/transresults.py Thu Nov 04 23:21:09 2021 +0100 +++ b/transresults.py Fri Nov 05 01:16:14 2021 +0100 @@ -3,7 +3,7 @@ """ Translation result abstractions. -Copyright (C) 2016, 2017, 2018 Paul Boddie +Copyright (C) 2016, 2017, 2018, 2021 Paul Boddie This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -119,8 +119,6 @@ # Expressions. elif static_name: - parent = ref.parent() - context = ref.has_kind("") and encode_path(parent) or None return "__ATTRVALUE(&%s)" % static_name # Qualified names must be converted into parent-relative accesses.