From: <sv...@op...> - 2024-07-23 19:12:40
|
Author: sagamusix Date: Tue Jul 23 21:12:28 2024 New Revision: 21266 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=21266 Log: [Ref] Silence cppcheck false-positives. Modified: trunk/OpenMPT/mptrack/View_ins.h trunk/OpenMPT/mptrack/View_pat.h trunk/OpenMPT/mptrack/View_smp.h Modified: trunk/OpenMPT/mptrack/View_ins.h ============================================================================== --- trunk/OpenMPT/mptrack/View_ins.h Tue Jul 23 20:02:36 2024 (r21265) +++ trunk/OpenMPT/mptrack/View_ins.h Tue Jul 23 21:12:28 2024 (r21266) @@ -195,6 +195,7 @@ protected: //{{AFX_MSG(CViewInstrument) afx_msg BOOL OnEraseBkgnd(CDC *) { return TRUE; } + // cppcheck-suppress duplInheritedMember afx_msg void OnSetFocus(CWnd *pOldWnd); afx_msg void OnSize(UINT nType, int cx, int cy); // cppcheck-suppress duplInheritedMember Modified: trunk/OpenMPT/mptrack/View_pat.h ============================================================================== --- trunk/OpenMPT/mptrack/View_pat.h Tue Jul 23 20:02:36 2024 (r21265) +++ trunk/OpenMPT/mptrack/View_pat.h Tue Jul 23 21:12:28 2024 (r21266) @@ -410,6 +410,7 @@ afx_msg void OnLButtonDblClk(UINT, CPoint); afx_msg void OnRButtonDown(UINT, CPoint); afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar *pScrollBar); + // cppcheck-suppress duplInheritedMember afx_msg void OnSetFocus(CWnd *pOldWnd); afx_msg void OnKillFocus(CWnd *pNewWnd); afx_msg void OnEditCut(); Modified: trunk/OpenMPT/mptrack/View_smp.h ============================================================================== --- trunk/OpenMPT/mptrack/View_smp.h Tue Jul 23 20:02:36 2024 (r21265) +++ trunk/OpenMPT/mptrack/View_smp.h Tue Jul 23 21:12:28 2024 (r21266) @@ -174,6 +174,7 @@ protected: //{{AFX_MSG(CViewSample) afx_msg BOOL OnEraseBkgnd(CDC *) { return TRUE; } + // cppcheck-suppress duplInheritedMember afx_msg void OnSetFocus(CWnd *pOldWnd); afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnNcCalcSize(BOOL bCalcValidRects, NCCALCSIZE_PARAMS* lpncsp); |