summaryrefslogtreecommitdiffstats
path: root/Source/MFCDialog/PropertyList.cpp
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-03-05 14:51:13 (GMT)
committerKen Martin <ken.martin@kitware.com>2007-03-05 14:51:13 (GMT)
commitd443963d91c33579fa4774a698b21c4b5ff3cbeb (patch)
tree3673132d01c8ae3eaccb989325f8703eb08e2c8e /Source/MFCDialog/PropertyList.cpp
parent1263baec63215fde5fc932b18493afd51e6a0b2d (diff)
downloadCMake-d443963d91c33579fa4774a698b21c4b5ff3cbeb.zip
CMake-d443963d91c33579fa4774a698b21c4b5ff3cbeb.tar.gz
CMake-d443963d91c33579fa4774a698b21c4b5ff3cbeb.tar.bz2
ENH: fix compiler warnings
Diffstat (limited to 'Source/MFCDialog/PropertyList.cpp')
-rw-r--r--Source/MFCDialog/PropertyList.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/MFCDialog/PropertyList.cpp b/Source/MFCDialog/PropertyList.cpp
index 8765fa8..e316451 100644
--- a/Source/MFCDialog/PropertyList.cpp
+++ b/Source/MFCDialog/PropertyList.cpp
@@ -677,7 +677,7 @@ CPropertyItem* CPropertyList::GetItem(int index)
return (CPropertyItem*)GetItemDataPtr(index);
}
-void CPropertyList::OnRButtonUp( UINT nFlags, CPoint point )
+void CPropertyList::OnRButtonUp( UINT /* nFlags */, CPoint point )
{
CMenu menu;
CRect rect;
@@ -759,7 +759,6 @@ void CPropertyList::RemoveAll()
int c = this->GetCount();
for(int i =0; i < c; ++i)
{
- CPropertyItem* pItem = (CPropertyItem*) GetItemDataPtr(0);
this->DeleteString(0);
}
for(std::set<CPropertyItem*>::iterator ii = m_PropertyItems.begin();