From: Arne Fitzenreiter Date: Mon, 26 Nov 2012 16:30:40 +0000 (+0100) Subject: Revert "libsmooth: findkey: Empty target string if key could not be found." X-Git-Tag: v2.13-beta1~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=01e5e86e1a9f6c158d3f928da0c1340ea877d914;p=people%2Fms%2Fipfire-2.x.git Revert "libsmooth: findkey: Empty target string if key could not be found." This reverts commit 0add8f90ae1d5a15000147df2a86d060a2a89917. --- diff --git a/src/install+setup/libsmooth/varval.c b/src/install+setup/libsmooth/varval.c index d12789097d..9a64365af7 100644 --- a/src/install+setup/libsmooth/varval.c +++ b/src/install+setup/libsmooth/varval.c @@ -151,9 +151,6 @@ int findkey(struct keyvalue *head, char *key, char *value) cur = cur->next; } - // Empty value if we could not find key. - value[0] = '\0'; - return 0; }