Fix compiler warnings

This commit is contained in:
Charlie Fenton 2013-11-18 17:21:13 -08:00
parent 969fbd7ded
commit 525e3e7459
2 changed files with 1 additions and 2 deletions

View File

@ -58,7 +58,6 @@ class CScrolledTextBox : public wxScrolledWindow
void OnOutputLine(const wxString& line); void OnOutputLine(const wxString& line);
wxBoxSizer* m_TextSizer; wxBoxSizer* m_TextSizer;
int m_iAvailableHeight;
bool m_eol; bool m_eol;
wxString m_text; wxString m_text;
int m_hLine; int m_hLine;

View File

@ -96,7 +96,7 @@ GetMACAddress(io_iterator_t intfIterator, char* buffer)
kern_return_t kernResult = KERN_FAILURE; kern_return_t kernResult = KERN_FAILURE;
char delimiter[2] = "\0"; char delimiter[2] = "\0";
while (intfService = IOIteratorNext(intfIterator)) while ((intfService = IOIteratorNext(intfIterator)))
{ {
CFTypeRef MACAddressAsCFData; CFTypeRef MACAddressAsCFData;
// IONetworkControllers can't be found directly by the IOServiceGetMatchingServices call, // IONetworkControllers can't be found directly by the IOServiceGetMatchingServices call,