git: 596eec9c1bd8 - stable/13 - netbsd h_raw.c test: fake use of sum to avoid warning

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Mon, 06 Dec 2021 00:28:07 UTC
The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=596eec9c1bd8f277816ad759c9adff6439d523ad

commit 596eec9c1bd8f277816ad759c9adff6439d523ad
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-11-28 03:35:45 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-12-06 00:23:45 +0000

    netbsd h_raw.c test: fake use of sum to avoid warning
    
    (cherry picked from commit e8b6309c70f0d751e626f8babbad68a16a95577c)
---
 contrib/netbsd-tests/lib/libc/ssp/h_raw.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/contrib/netbsd-tests/lib/libc/ssp/h_raw.c b/contrib/netbsd-tests/lib/libc/ssp/h_raw.c
index a2324814716d..eaac78b231c7 100644
--- a/contrib/netbsd-tests/lib/libc/ssp/h_raw.c
+++ b/contrib/netbsd-tests/lib/libc/ssp/h_raw.c
@@ -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