Remove wrong testcase test/cfg/windows.cpp, there is missing configuration for that given code

This commit is contained in:
Daniel Marjamäki 2017-10-06 14:42:19 +02:00
parent a1053dd7dd
commit e4676b70dd
1 changed files with 0 additions and 19 deletions

View File

@ -1,19 +0,0 @@
// Test library configuration for windows.cfg
//
// Usage:
// $ cppcheck --check-library --library=windows --enable=information --enable=style --error-exitcode=1 --suppress=missingIncludeSystem --inline-suppr test/cfg/windows.cpp
// =>
// No warnings about bad library configuration, unmatched suppressions, etc. exitcode=0
//
class CSharedFilesCtrl {
void OpenFile(const CShareableFile* file, int, int);
afx_msg void OnNmDblClk(NMHDR *pNMHDR, LRESULT *pResult);
};
void CSharedFilesCtrl::OnNmDblClk(NMHDR* /*pNMHDR*/, LRESULT* pResult)
{
if (file)
OpenFile(file,0,0); // <- not the windows OpenFile function
}