pulsesink: Enhance code readability in pulsesink_query
authorJimmy Ohn <yongjin.ohn@lge.com>
Fri, 13 Feb 2015 10:43:16 +0000 (19:43 +0900)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 13 Feb 2015 22:27:49 +0000 (22:27 +0000)
commitf9a8f0ebfea028e894b51de4215e27cebd784b09
tree00203b8fc4813860254089a23f250aaf53b17c78
parent3f5b690e782ea8db44ca89198910909d5076dd95
pulsesink: Enhance code readability in pulsesink_query

In pulsesink_query function, we use a switch for the query
type. In the CAPS case, there is no 'break', instead we
return right away. Use a break and return at the end of
the function instead for better code readability.

https://bugzilla.gnome.org/show_bug.cgi?id=744461
ext/pulse/pulsesink.c