Skip to content

Commit

Permalink
[Ref] Silence cppcheck false-positives.
Browse files Browse the repository at this point in the history
git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@21266 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
sagamusix committed Jul 23, 2024
1 parent 942c8d8 commit 3cab0c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions mptrack/View_ins.h
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ class CViewInstrument: public CModScrollView
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
Expand Down
1 change: 1 addition & 0 deletions mptrack/View_pat.h
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ class CViewPattern final : public CModScrollView
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();
Expand Down
1 change: 1 addition & 0 deletions mptrack/View_smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ class CViewSample: public CModScrollView
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);
Expand Down

0 comments on commit 3cab0c7

Please sign in to comment.