summaryrefslogtreecommitdiff
path: root/backends/oss/oss-stream.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-12-09 12:05:16 +0100
committerlukefromdc <[email protected]>2019-12-10 18:39:02 +0000
commit004f668b29549a4b4c041f6d27b15898a9d7acc5 (patch)
tree35e5e5936f1089e427fc0156ed0a679f7c8de36b /backends/oss/oss-stream.c
parent8138877b8f12881deec7e40aad9ebbf39e8826a8 (diff)
downloadlibmatemixer-004f668b29549a4b4c041f6d27b15898a9d7acc5.tar.bz2
libmatemixer-004f668b29549a4b4c041f6d27b15898a9d7acc5.tar.xz
Fix cppcheck [syntaxError] warnings
Diffstat (limited to 'backends/oss/oss-stream.c')
-rw-r--r--backends/oss/oss-stream.c4
1 files changed, 2 insertions, 2 deletions
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 */