From: Vadim Zeitlin Date: Tue, 7 Apr 2009 11:09:14 +0000 (+0000) Subject: no real changes, just remove unnecessary semicolons (part of #10687) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/dcc3f1a5e3f29c5a885cd9b93208e3e9bbb452c0 no real changes, just remove unnecessary semicolons (part of #10687) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/listctrl.cpp b/src/msw/listctrl.cpp index 46e271ddff..f2992b3db4 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -893,7 +893,7 @@ bool wxListCtrl::SetItem(wxListItem& info) data = new wxListItemInternalData(); item.lParam = (LPARAM) data; item.mask |= LVIF_PARAM; - }; + } // user data @@ -910,8 +910,8 @@ bool wxListCtrl::SetItem(wxListItem& info) data->attr->AssignFrom(attrNew); else data->attr = new wxListItemAttr(attrNew); - }; - }; + } + } // we could be changing only the attribute in which case we don't need to @@ -1626,7 +1626,7 @@ long wxListCtrl::FindItem(long start, wxUIntPtr data) if (GetItemData(idx) == data) return idx; idx++; - }; + } return -1; } @@ -1746,7 +1746,7 @@ long wxListCtrl::InsertItem(const wxListItem& info) // and remember that we have some now... m_hasAnyAttr = true; } - }; + } long rv = ListView_InsertItem(GetHwnd(), & item);