mm-call-audio-format: avoid redundant condition

This commit is contained in:
Pablo Barciela
2022-02-14 10:40:28 +01:00
parent b70fd64417
commit 839af5553f
+1 -2
View File
@@ -167,7 +167,7 @@ mm_call_audio_format_get_dictionary (MMCallAudioFormat *self)
return NULL;
g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
if (self) {
if (self->priv->encoding)
g_variant_builder_add (&builder,
"{sv}",
@@ -185,7 +185,6 @@ mm_call_audio_format_get_dictionary (MMCallAudioFormat *self)
"{sv}",
PROPERTY_RATE,
g_variant_new_uint32 (self->priv->rate));
}
return g_variant_builder_end (&builder);
}