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);
|
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;
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue