init params as null

I started gettting odd exceptions, so I thought this should be null and not on the stack or pointing to garbage. I might be totally in the wrong here.
This commit is contained in:
Shawn A
2018-03-07 13:59:50 -06:00
parent 5e487d6edc
commit 0a1bd9f934
+1 -1
View File
@@ -363,7 +363,7 @@ class WiFiManager
// WiFiManagerParameter
int _paramsCount = 0;
int _max_params;
WiFiManagerParameter** _params;
WiFiManagerParameter** _params = NULL;
// debugging
boolean _debug = true;