diff --git a/package/switch/src/switch-robo.c b/package/switch/src/switch-robo.c index 95cb3e23f7..a0051a32fe 100644 --- a/package/switch/src/switch-robo.c +++ b/package/switch/src/switch-robo.c @@ -73,7 +73,7 @@ extern char *nvram_get(const char *name); #define getvar(str) (nvram_get(str)?:"") #else -#define getvar(str) NULL +#define getvar(str) "" #endif /* Data structure for a Roboswitch device. */