Merge "Fix warning for uninitialized variable."
This commit is contained in:
commit
fbe58079b4
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)
|
int GPT_parse_entry(char *string, struct GPT_entry_raw *entry)
|
||||||
{
|
{
|
||||||
char *ptr = string;
|
char *ptr = string;
|
||||||
char *key, *value;
|
char *key = NULL;
|
||||||
|
char *value = NULL;
|
||||||
|
|
||||||
while ((ptr = get_key_value(ptr, &key, &value)) != NULL) {
|
while ((ptr = get_key_value(ptr, &key, &value)) != NULL) {
|
||||||
if (add_key_value(key, value, entry)) {
|
if (add_key_value(key, value, entry)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue