mirror of https://github.com/BOINC/boinc.git
Mac: fix compiler warnings introduced by commit 59eb2c20ea
This commit is contained in:
parent
d9f435d1b7
commit
c3bb612582
|
@ -1086,7 +1086,7 @@ void CDlgEventLog::FindErrorMessages(bool isFiltered) {
|
|||
MESSAGE* message;
|
||||
wxInt32 i = 0;
|
||||
if (isFiltered) {
|
||||
for (i; i < m_iFilteredDocCount; i++) {
|
||||
for (i=0; i < m_iFilteredDocCount; i++) {
|
||||
message = wxGetApp().GetDocument()->message(GetFilteredMessageIndex(i));
|
||||
if (message) {
|
||||
if (message->priority == MSG_USER_ALERT) {
|
||||
|
@ -1096,7 +1096,7 @@ void CDlgEventLog::FindErrorMessages(bool isFiltered) {
|
|||
}
|
||||
}
|
||||
else {
|
||||
for (i; i < m_iTotalDocCount; i++) {
|
||||
for (i=0; i < m_iTotalDocCount; i++) {
|
||||
message = wxGetApp().GetDocument()->message(i);
|
||||
if (message) {
|
||||
if (message->priority == MSG_USER_ALERT) {
|
||||
|
@ -1130,7 +1130,7 @@ void CDlgEventLog::FindProjectMessages(bool isFiltered) {
|
|||
MESSAGE* message;
|
||||
wxInt32 i = 0;
|
||||
if (isFiltered) {
|
||||
for (i; i < m_iFilteredDocCount; i++) {
|
||||
for (i=0; i < m_iFilteredDocCount; i++) {
|
||||
message = wxGetApp().GetDocument()->message(GetFilteredMessageIndex(i));
|
||||
if (message) {
|
||||
if (message->project.empty() || message->project == s_strFilteredProjectName) {
|
||||
|
@ -1140,7 +1140,7 @@ void CDlgEventLog::FindProjectMessages(bool isFiltered) {
|
|||
}
|
||||
}
|
||||
else {
|
||||
for (i; i < m_iTotalDocCount; i++) {
|
||||
for (i=0; i < m_iTotalDocCount; i++) {
|
||||
message = wxGetApp().GetDocument()->message(i);
|
||||
if (message) {
|
||||
if (message->project.empty() || message->project == s_strFilteredProjectName) {
|
||||
|
|
Loading…
Reference in New Issue