diff --git a/clientgui/sg_TaskPanel.h b/clientgui/sg_TaskPanel.h index 76b0382334..c5afa36251 100644 --- a/clientgui/sg_TaskPanel.h +++ b/clientgui/sg_TaskPanel.h @@ -58,7 +58,6 @@ class CScrolledTextBox : public wxScrolledWindow void OnOutputLine(const wxString& line); wxBoxSizer* m_TextSizer; - int m_iAvailableHeight; bool m_eol; wxString m_text; int m_hLine; diff --git a/lib/mac_address.cpp b/lib/mac_address.cpp index c202cd67c0..af60da5b9e 100644 --- a/lib/mac_address.cpp +++ b/lib/mac_address.cpp @@ -96,7 +96,7 @@ GetMACAddress(io_iterator_t intfIterator, char* buffer) kern_return_t kernResult = KERN_FAILURE; char delimiter[2] = "\0"; - while (intfService = IOIteratorNext(intfIterator)) + while ((intfService = IOIteratorNext(intfIterator))) { CFTypeRef MACAddressAsCFData; // IONetworkControllers can't be found directly by the IOServiceGetMatchingServices call,