summaryrefslogtreecommitdiff
path: root/vala/valaclass.vala
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2018-06-13 18:04:46 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2018-06-13 18:04:46 +0200
commit34dbda21259be958915da8435ae0dc9bb75d99b9 (patch)
tree2ec298d23036065f41a88198471002986c97f0c6 /vala/valaclass.vala
parentcbd8b9d20df1e397b0f8f72dd693c0c9079aed29 (diff)
downloadvala-34dbda21259be958915da8435ae0dc9bb75d99b9.tar.gz
vala: Drop unreachable code
Diffstat (limited to 'vala/valaclass.vala')
-rw-r--r--vala/valaclass.vala6
1 files changed, 0 insertions, 6 deletions
diff --git a/vala/valaclass.vala b/vala/valaclass.vala
index b0de0f536..0a44e9789 100644
--- a/vala/valaclass.vala
+++ b/vala/valaclass.vala
@@ -51,9 +51,6 @@ public class Vala.Class : ObjectTypeSymbol {
_is_compact = get_attribute ("Compact") != null;
}
}
- if (_is_compact == null) {
- _is_compact = get_attribute ("Compact") != null;
- }
return _is_compact;
}
set {
@@ -74,9 +71,6 @@ public class Vala.Class : ObjectTypeSymbol {
_is_immutable = get_attribute ("Immutable") != null;
}
}
- if (_is_immutable == null) {
- _is_immutable = get_attribute ("Immutable") != null;
- }
return _is_immutable;
}
set {