From 5b7f2b0ce27df6594b92cddd302cc7223888b7f7 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 29 Apr 2017 08:52:10 -0600 Subject: [PATCH] Eliminate a warning --- nshlib/nsh.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nshlib/nsh.h b/nshlib/nsh.h index 0231ef510..9ca6b009f 100644 --- a/nshlib/nsh.h +++ b/nshlib/nsh.h @@ -697,7 +697,8 @@ #endif #if defined(CONFIG_DISABLE_ENVIRON) && defined(CONFIG_NSH_DISABLESCRIPT) -# define CONFIG_NSH_DISABLE_SET +# undef CONFIG_NSH_DISABLE_SET +# define CONFIG_NSH_DISABLE_SET 1 #endif /****************************************************************************