From 01e5e86e1a9f6c158d3f928da0c1340ea877d914 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Mon, 26 Nov 2012 17:30:40 +0100 Subject: [PATCH] Revert "libsmooth: findkey: Empty target string if key could not be found." This reverts commit 0add8f90ae1d5a15000147df2a86d060a2a89917. --- src/install+setup/libsmooth/varval.c | 3 --- 1 file changed, 3 deletions(-) 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; } -- 2.39.5