Skip to content

Commit

Permalink
Merge pull request adplug#160 from mywave82/realopl-Wunused-value
Browse files Browse the repository at this point in the history
Fix for realopl-Wunused-value
  • Loading branch information
mywave82 authored Feb 26, 2023
2 parents 926ae9a + 2502f39 commit 54bc29a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/realopl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
# define INP inb
# define OUTP(reg,val) outb(val,reg)
#else // no support on other platforms
# define INP(reg) 0
# define OUTP(reg, val)
static inline int INP(int reg) { return 0; }
static inline void OUTP(int reg, int val) { };
#endif

#include "realopl.h"
Expand Down

0 comments on commit 54bc29a

Please sign in to comment.