mirror of git://git.sysmocom.de/ofono
ztemodem: Fix compile error
drivers/ztemodem/radio-settings.c:129: error: ‘value’ may be used uninitialized in this function
This commit is contained in:
parent
75e3bb6167
commit
e9fc8c6411
|
@ -126,7 +126,7 @@ static void zte_set_rat_mode(struct ofono_radio_settings *rs,
|
||||||
struct radio_settings_data *rsd = ofono_radio_settings_get_data(rs);
|
struct radio_settings_data *rsd = ofono_radio_settings_get_data(rs);
|
||||||
struct cb_data *cbd = cb_data_new(cb, data);
|
struct cb_data *cbd = cb_data_new(cb, data);
|
||||||
char buf[20];
|
char buf[20];
|
||||||
int value;
|
int value = 0;
|
||||||
|
|
||||||
switch (mode) {
|
switch (mode) {
|
||||||
case OFONO_RADIO_ACCESS_MODE_ANY:
|
case OFONO_RADIO_ACCESS_MODE_ANY:
|
||||||
|
|
Loading…
Reference in New Issue