forked from len0rd/rockbox
Initialize token before using.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22678 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
640fcab293
commit
246e38e937
1 changed files with 1 additions and 0 deletions
|
@ -1246,6 +1246,7 @@ static int parse_token(const char *wps_bufptr, struct wps_data *wps_data)
|
|||
int skip = 0, taglen = 0, ret;
|
||||
struct wps_token *token = wps_data->tokens + wps_data->num_tokens;
|
||||
const struct wps_tag *tag;
|
||||
memset(token, 0, sizeof(*token));
|
||||
|
||||
switch(*wps_bufptr)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue