summaryrefslogtreecommitdiff
path: root/include/nm-test-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/nm-test-utils.h')
-rw-r--r--include/nm-test-utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/nm-test-utils.h b/include/nm-test-utils.h
index a26bffad26..a9347e92ab 100644
--- a/include/nm-test-utils.h
+++ b/include/nm-test-utils.h
@@ -1054,8 +1054,8 @@ typedef enum {
g_variant_builder_add (&__setting_builder, "{sv}", \
__cur_property_name, \
__property_val); \
- } else \
- g_variant_unref (__property_val); \
+ } \
+ g_variant_unref (__property_val); \
} \
\
if (__cur_setting_name) \