mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-05-02 20:16:59 +00:00
fix lint warnings on osx
This commit is contained in:
@@ -163,6 +163,11 @@ class Network {
|
||||
const char * disconnectReason(uint8_t code);
|
||||
void stopAP();
|
||||
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wunused-private-field"
|
||||
#endif
|
||||
|
||||
unsigned long lastConnectionAttempt_ = 0;
|
||||
uint16_t connectcount_ = 0; // number of network reconnects
|
||||
uint32_t network_ip_ = 0;
|
||||
@@ -205,6 +210,10 @@ class Network {
|
||||
IPAddress ap_gatewayIP_;
|
||||
IPAddress ap_subnetMask_;
|
||||
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
// for the captive portal in AP mode
|
||||
#ifndef EMSESP_STANDALONE
|
||||
DNSServer * ap_dnsServer_;
|
||||
|
||||
Reference in New Issue
Block a user