projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
648753b
)
wasapi: Fix build warnings
author
Seungha Yang
<seungha.yang@navercorp.com>
Tue, 17 Sep 2019 11:32:18 +0000
(20:32 +0900)
committer
Tim-Philipp Müller
<tim@centricular.com>
Thu, 17 Oct 2019 18:51:34 +0000
(19:51 +0100)
gstwasapiutil.c(173) : warning C4715: 'gst_wasapi_device_role_to_erole': not all control paths return a value
gstwasapiutil.c(188) : warning C4715: 'gst_wasapi_erole_to_device_role': not all control paths return a value
sys/wasapi/gstwasapiutil.c
patch
|
blob
|
history
diff --git
a/sys/wasapi/gstwasapiutil.c
b/sys/wasapi/gstwasapiutil.c
index
eac2883
..
81df8d8
100644
(file)
--- a/
sys/wasapi/gstwasapiutil.c
+++ b/
sys/wasapi/gstwasapiutil.c
@@
-170,6
+170,8
@@
gst_wasapi_device_role_to_erole (gint role)
default:
g_assert_not_reached ();
}
+
+ return -1;
}
gint
@@
-185,6
+187,8
@@
gst_wasapi_erole_to_device_role (gint erole)
default:
g_assert_not_reached ();
}
+
+ return -1;
}
static const gchar *