From: Rico Tzschichholz Date: Wed, 13 Jun 2018 16:04:46 +0000 (+0200) Subject: vala: Drop unreachable code X-Git-Tag: 0.41.90~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34dbda21259be958915da8435ae0dc9bb75d99b9;p=thirdparty%2Fvala.git vala: Drop unreachable code --- 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 {