From 71d2e16b46daae5818455fef8cd485877efd0cb3 Mon Sep 17 00:00:00 2001 From: entrop1a Date: Thu, 31 Oct 2024 23:04:10 -0300 Subject: [PATCH] fix(nan_console): fix redundant global variable initialization --- examples/wifi/wifi_aware/nan_console/main/nan_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/wifi/wifi_aware/nan_console/main/nan_main.c b/examples/wifi/wifi_aware/nan_console/main/nan_main.c index 4884dd723b30..e37156859c84 100644 --- a/examples/wifi/wifi_aware/nan_console/main/nan_main.c +++ b/examples/wifi/wifi_aware/nan_console/main/nan_main.c @@ -103,7 +103,7 @@ static struct { } ping_args; static const char *TAG = "nan_console"; -static esp_netif_t *g_nan_netif = NULL; +static esp_netif_t *g_nan_netif; #define NAN_EXAMPLE_SERVICE_NAME "ESP_NAN-Service"