Skip to content

Commit 782b6be

Browse files
committed
mpeg: Suppress unused struct member lint
1 parent b503e1f commit 782b6be

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ee/mpeg/src/libmpeg_internal.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,10 @@ typedef struct _MPEGMotion
9898
int m_fInt;
9999
int m_Field;
100100

101+
// These are used from assembly, supress linter warnings.
102+
// cppcheck-suppress unusedStructMember
101103
void (*MC_Luma)(struct _MPEGMotion *m, u8 *a2, short *a3, int a4, int var1, int tmpa, int, int);
104+
// cppcheck-suppress unusedStructMember
102105
void (*MC_Chroma)(struct _MPEGMotion *m, u8 *a2, short *a3, int a4, int var1, int tmpa, int, int);
103106
} _MPEGMotion;
104107

0 commit comments

Comments
 (0)