am ffbb05e6: am fbe58079: Merge "Fix warning for uninitialized variable."

* commit 'ffbb05e6744e8de1bfc40fde17aae401217ea003':
  Fix warning for uninitialized variable.
This commit is contained in:
Dan Albert 2014-09-22 23:23:23 +00:00 committed by Android Git Automerger
commit dcf2eb9e24

View file

@ -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)) {