From e4676b70dd775155c7918a642356482f01d9bfc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Fri, 6 Oct 2017 14:42:19 +0200 Subject: [PATCH] Remove wrong testcase test/cfg/windows.cpp, there is missing configuration for that given code --- test/cfg/windows.cpp | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 test/cfg/windows.cpp 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 -}