hfp_hf_bluez5: Be more pedantic in get_version
authorDenis Kenzior <denkenz@gmail.com>
Tue, 1 Oct 2013 16:35:27 +0000 (11:35 -0500)
committerDenis Kenzior <denkenz@gmail.com>
Tue, 1 Oct 2013 16:35:27 +0000 (11:35 -0500)
commit2158249069ad9f56614e874c36147ba68364913f
tree7938221fafd00116ecdf24e43ea50151cb9ff467
parentc49ed15a8fcf85a4adc00f5ba4e08e08de9a173e
hfp_hf_bluez5: Be more pedantic in get_version

If no 'Version' key is found we might be assigning an uninitialized
value.  Return an error in this case as the 'Version' key is required.
plugins/hfp_hf_bluez5.c