mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
netbsd h_raw.c test: fake use of sum to avoid warning
Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
631607ac29
commit
e8b6309c70
|
@ -35,6 +35,7 @@ __RCSID("$NetBSD: h_raw.c,v 1.6 2011/07/24 14:00:36 christos Exp $");
|
|||
#include <stdlib.h>
|
||||
|
||||
void poke(int *, size_t);
|
||||
int y;
|
||||
|
||||
void
|
||||
poke(int *b, size_t index)
|
||||
|
@ -45,6 +46,7 @@ poke(int *b, size_t index)
|
|||
b[index] = 42;
|
||||
for (i = 0; i < 10; i++)
|
||||
sum += b[i];
|
||||
y = sum;
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Reference in a new issue