diff --git a/test/cfg/windows.cpp b/test/cfg/windows.cpp deleted file mode 100644 index 842ddbac7..000000000 --- a/test/cfg/windows.cpp +++ /dev/null @@ -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 -}