stress-ng: fix build on ppc32

This commit is contained in:
q66 2022-09-16 11:50:24 +00:00
parent 315435fd0b
commit 7c279f94e2

View file

@ -0,0 +1,20 @@
commit 142c4e0a4e9d85c5d32faf0479b086ee4381502b
Author: q66 <daniel@octaforge.org>
Date: Fri Sep 16 11:48:52 2022 +0000
fix build on ppc32
stress-regs.c:120:2: error: void value not ignored as it ought to be
diff --git a/stress-regs.c b/stress-regs.c
index 1ba97a8..63bf3ed 100644
--- a/stress-regs.c
+++ b/stress-regs.c
@@ -117,7 +117,6 @@ static void regs_check128(
do { \
(void)args; \
(void)reg; \
- (void)expected; \
(void)value; \
} while (0)
#endif