The value can be empty string. If there is no value at the manifest, the
value will be stored as an empty string.
Change-Id: I276e0581e22e6f6ee5ee301dcffc01c910be6340
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
(cherry picked from commit
8fc1c45f7cfe7a17dfa03a14c2d12c74f2151bcf)
return false;
}
md->key = strdup(meta_data.key().c_str());
- if (!meta_data.val().empty())
- md->value = strdup(meta_data.val().c_str());
+ md->value = strdup(meta_data.val().c_str());
manifest->metadata = g_list_append(manifest->metadata, md);
}