blob: 0a70b2bdcf486e1df9bf6b2e5d4ba98edfaeed34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-aj,v 1.3 2010/02/23 20:37:06 spz Exp $
--- include/stack.h.orig 2000-02-29 22:28:43.000000000 +0000
+++ include/stack.h
@@ -99,7 +99,7 @@ extern void STACK_DefaultPrin
#define Get_STACK_Size(s) (s->size)
/* Fast Macro Push and Pop for static sized stacks _only_ */
-#define PushM(s, d) (s->array[s->top++] = (STACK_TYPE)d)
+#define PushM(s, d) (void)(s->array[s->top++] = (STACK_TYPE)d)
#define PopM(s) (s->array[--s->top])
#ifdef STACK_DEBUG /* Debugging ON */
|