On Fri, 2013-07-12 at 15:07 -0300, [email protected] wrote:
> +/* Run from main thread */
> +static const char *pa_bluetooth_profile_to_string(enum profile profile) {
> +    switch(profile) {
> +        case PROFILE_A2DP_SINK:
> +            return "a2dp_sink";
> +        case PROFILE_A2DP_SOURCE:
> +            return "a2dp_source";
> +        case PROFILE_OFF:
> +        default:

Having a default section here prevents useful compiler warnings.

-- 
Tanu

_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Reply via email to