fix more warnings; add to CI; suppress some warnings

This commit is contained in:
Mike Kinney
2022-01-24 19:58:07 +00:00
parent 7c362af3de
commit 6883bc7afc
14 changed files with 51 additions and 27 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ template <class T> class MemoryPool : public Allocator<T>
~MemoryPool() { delete[] buf; }
/// Return a buffer for use by others
virtual void release(T *p)
void release(T *p)
{
assert(p >= buf &&
(size_t)(p - buf) <
+1 -1
View File
@@ -58,7 +58,7 @@ class PhoneAPI
// Call this when the client drops the connection, resets the state to STATE_SEND_NOTHING
// Unregisters our observer. A closed connection **can** be reopened by calling init again.
virtual void close();
void close();
/**
* Handle a ToRadio protobuf
+1 -1
View File
@@ -36,7 +36,7 @@ class HttpAPI : public PhoneAPI
protected:
/// Check the current underlying physical link to see if the client is currently connected
virtual bool checkIsConnected() { return true; } // FIXME, be smarter about this
virtual bool checkIsConnected() override { return true; } // FIXME, be smarter about this
};
+1 -1
View File
@@ -18,7 +18,7 @@ class WiFiServerAPI : public StreamAPI
virtual ~WiFiServerAPI();
/// override close to also shutdown the TCP link
virtual void close() override;
virtual void close();
protected:
/// We override this method to prevent publishing EVENT_SERIAL_CONNECTED/DISCONNECTED for wifi links (we want the board to