globalvar: When a globalvar is created with a NULL value, use empty string
As a convenience for users of globalvar_add_simple_string() create an
empty value for the variable when passed a NULL pointer as value.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 30caa39 commit 1c2c4246a9914bfdf234c6c636abcd27d9d3975c
@Sascha Hauer Sascha Hauer authored on 23 Nov 2017
Showing 1 changed file
View
common/globalvar.c