mirror of https://github.com/BOINC/boinc.git
Fix compiler warnings
This commit is contained in:
parent
969fbd7ded
commit
525e3e7459
|
@ -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;
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue