1.1 --- a/templates/ops.c Thu Nov 04 23:44:29 2021 +0100
1.2 +++ b/templates/ops.c Thu Nov 04 23:57:33 2021 +0100
1.3 @@ -1,6 +1,6 @@
1.4 /* Common operations.
1.5
1.6 -Copyright (C) 2015, 2016, 2017, 2018 Paul Boddie <paul@boddie.org.uk>
1.7 +Copyright (C) 2015, 2016, 2017, 2018, 2021 Paul Boddie <paul@boddie.org.uk>
1.8
1.9 This program is free software; you can redistribute it and/or modify it under
1.10 the terms of the GNU General Public License as published by the Free Software
1.11 @@ -27,10 +27,7 @@
1.12
1.13 __ref __VALUE(__attr attr)
1.14 {
1.15 - if (!__INTEGER(attr))
1.16 - return attr.value;
1.17 - else
1.18 - return (__ref) &__common_integer_obj;
1.19 + return attr.value;
1.20 }
1.21
1.22 /* Basic structure tests. */