From d44d23c7578285375f4ded759f7d8412320c3319 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Wed, 28 Sep 2016 10:58:46 -0700 Subject: unposted: change '\0' to NULL to silence spurious compile warning. params.c:830:13: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] *envp = '\0'; --- Src/params.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/params.c') diff --git a/Src/params.c b/Src/params.c index a85e5a51e..87586a209 100644 --- a/Src/params.c +++ b/Src/params.c @@ -827,7 +827,7 @@ createparamtable(void) } popheap(); #ifndef USE_SET_UNSET_ENV - *envp = '\0'; + *envp = NULL; #endif opts[ALLEXPORT] = oae; -- cgit 1.4.1