diff options
author | Thomas Jarosch <tomj@simonv.com> | 2014-12-22 21:30:30 +0100 |
---|---|---|
committer | Thomas Jarosch <tomj@simonv.com> | 2014-12-22 21:30:30 +0100 |
commit | 5d3aa1bce1ea8113f27153a0820b30d103ca35b0 (patch) | |
tree | a324495dd56f16e543a80cc9733a8d8c7520dfd9 | |
parent | 06eeab02422b49680a812e0120806f8628cd9c38 (diff) | |
download | rockbox-5d3aa1bce1ea8113f27153a0820b30d103ca35b0.tar.gz rockbox-5d3aa1bce1ea8113f27153a0820b30d103ca35b0.zip |
Fix red (pass pointer of 'item')
Change-Id: I2d04251519623b2531948615c35e61203f9a9940
-rw-r--r-- | apps/settings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings.c b/apps/settings.c index 4b2c1fe3db..16d572eb0d 100644 --- a/apps/settings.c +++ b/apps/settings.c | |||
@@ -1255,7 +1255,7 @@ bool set_option(const char* string, const void* variable, enum optiontype type, | |||
1255 | function, UNIT_INT, 0, numoptions-1, 1, | 1255 | function, UNIT_INT, 0, numoptions-1, 1, |
1256 | set_option_formatter, set_option_get_talk_id | 1256 | set_option_formatter, set_option_get_talk_id |
1257 | }; | 1257 | }; |
1258 | memset(item, 0, sizeof(struct settings_list)); | 1258 | memset(&item, 0, sizeof(struct settings_list)); |
1259 | set_option_options = options; | 1259 | set_option_options = options; |
1260 | item.int_setting = &data; | 1260 | item.int_setting = &data; |
1261 | item.flags = F_INT_SETTING|F_T_INT; | 1261 | item.flags = F_INT_SETTING|F_T_INT; |