]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gvariant: Misc clean-ups
authorSergey Bugaev <bugaevc@gmail.com>
Sat, 7 Jun 2025 20:12:27 +0000 (23:12 +0300)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 16 May 2026 12:13:00 +0000 (14:13 +0200)
codegen/valagvariantmodule.vala

index 66db6aa3e48a921804a093911cdba1331acbfcc7..09f345d9cd8ad11d08df66a854017657c247542f 100644 (file)
@@ -52,7 +52,7 @@ public class Vala.GVariantModule : GValueModule {
        string get_dbus_value (EnumValue value, string default_value) {
                var dbus_value = value.get_attribute_string ("DBus", "value");
                if (dbus_value != null) {
-                       return dbus_value;;
+                       return dbus_value;
                }
                return default_value;
        }
@@ -453,7 +453,7 @@ public class Vala.GVariantModule : GValueModule {
                iter_call.add_argument (variant_expr);
                ccode.add_expression (iter_call);
 
-               bool field_found = false;;
+               bool field_found = false;
 
                foreach (Field f in st.get_fields ()) {
                        if (f.binding != MemberBinding.INSTANCE) {