* commit 'ffbb05e6744e8de1bfc40fde17aae401217ea003': Fix warning for uninitialized variable.
This commit is contained in:
commit
dcf2eb9e24
1 changed files with 2 additions and 1 deletions
|
@ -547,7 +547,8 @@ error:
|
|||
int GPT_parse_entry(char *string, struct GPT_entry_raw *entry)
|
||||
{
|
||||
char *ptr = string;
|
||||
char *key, *value;
|
||||
char *key = NULL;
|
||||
char *value = NULL;
|
||||
|
||||
while ((ptr = get_key_value(ptr, &key, &value)) != NULL) {
|
||||
if (add_key_value(key, value, entry)) {
|
||||
|
|
Loading…
Reference in a new issue