1
0
mirror of https://github.com/simh/simh.git synced 2026-04-26 03:57:11 +00:00

3b2: Fix Coverity identified issues

This change also addresses some unused function parameter warnings
issued by GNU Flycheck (not generally used by the build process, but
useful when editing files with Flycheck enabled)
This commit is contained in:
Seth Morabito
2019-03-20 10:13:30 -07:00
parent 690b896cb4
commit 726a07b547
2 changed files with 59 additions and 14 deletions

View File

@@ -56,6 +56,9 @@ noret __libc_longjmp (jmp_buf buf, int val);
#ifndef MIN
#define MIN(x,y) ((x) < (y) ? (x) : (y))
#endif
#ifndef UNUSED
#define UNUSED(x) ((void)((x)))
#endif
/* -t flag: Translate a virtual address */
#define EX_T_FLAG 1 << 19