From 004f668b29549a4b4c041f6d27b15898a9d7acc5 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Mon, 9 Dec 2019 12:05:16 +0100 Subject: Fix cppcheck [syntaxError] warnings --- backends/oss/oss-stream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backends/oss/oss-stream.c') diff --git a/backends/oss/oss-stream.c b/backends/oss/oss-stream.c index d82032e..40d1515 100644 --- a/backends/oss/oss-stream.c +++ b/backends/oss/oss-stream.c @@ -199,7 +199,7 @@ oss_stream_set_switch_data (OssStream *stream, gint fd, GList *options) g_return_if_fail (options != NULL); /* Function may only be called once */ - if G_UNLIKELY (stream->priv->swtch != NULL) { + if (G_UNLIKELY (stream->priv->swtch != NULL)) { g_warn_if_reached (); return; } @@ -210,7 +210,7 @@ oss_stream_set_switch_data (OssStream *stream, gint fd, GList *options) _("Connector"), fd, options); - if G_UNLIKELY (stream->priv->swtch == NULL) + if (G_UNLIKELY (stream->priv->swtch == NULL)) return; /* Read the active selection */ -- cgit v1.2.1