From nobody Mon Nov 29 15:43:16 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 660FB18BCD90; Mon, 29 Nov 2021 15:43:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J2qPg6978z4nfb; Mon, 29 Nov 2021 15:43:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 558D8253A5; Mon, 29 Nov 2021 15:43:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1ATFhGM9066000; Mon, 29 Nov 2021 15:43:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1ATFhGYM065999; Mon, 29 Nov 2021 15:43:16 GMT (envelope-from git) Date: Mon, 29 Nov 2021 15:43:16 GMT Message-Id: <202111291543.1ATFhGYM065999@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: e8b6309c70f0 - main - netbsd h_raw.c test: fake use of sum to avoid warning List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e8b6309c70f0d751e626f8babbad68a16a95577c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638200600; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bsV/Y8Hq5ouZeJDeUdgvItIiaIENFva1Ze7l+0Fe35M=; b=wjz0NnPzJyfztC4ARabgHjPKUsbgoFx2AgRCJvRVWLmeHQA2D7foFUtD1P0RRR2T9Z2imx jDBNHqPciRKVR96D49anUQmW/lBYJnQLPsa7j5cMo+Zw1QoeY0TAfvIoc3bFe7Dc/at3pE WuhewqnnrBM0GzkEMKYWjTnG1FbhJe15xEdpUhETTiFss2qlU4QDyg9PU+SCYWb+YNTwYk TG4USGoSuywzcy6v3hG8efiA1uno0vg08zufrCH+RYLLuUqnf7rPgsfIbZKwyKu6FHOHwo 4I7DNNNKsM8OHx3kzz+mBWBagO/dgEKPclFWfrxyA8PWVf1LjrdSuATu9j/xdQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638200600; a=rsa-sha256; cv=none; b=QO7YZQLIipD6Io6DqXfL8SQ+6NGi0KxZmF+ZZM9/kM27TRuHii0lE8OW5ce/JP5yQHfZu7 jgnQXq751a6wQ20hSNWTKZ2rvLMigqXU7tbrbwobqeY0VOuuf43Rt0KNBtPe5JyIq5KLf6 7D6eobGD0Ts1QzoGUuJ/Y/85+T8g+HEoVgbFX9eLmRAsY0AAxnK/lnCPQ/qZPU7rHsirOs ukA0t0TenMOZ9H52Sj77T9EN/zoPRkMLAdLiqAEiihP9iStlE+jipqxF8Ovky4rROGA+m3 74W9mIHFVriIp4cjFgl2Dluec2soH6naTuGyEq8RfVn8rkzI5gGZaqQQ7pmPHw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=e8b6309c70f0d751e626f8babbad68a16a95577c commit e8b6309c70f0d751e626f8babbad68a16a95577c Author: Konstantin Belousov AuthorDate: 2021-11-28 03:35:45 +0000 Commit: Konstantin Belousov CommitDate: 2021-11-29 15:39:51 +0000 netbsd h_raw.c test: fake use of sum to avoid warning Sponsored by: The FreeBSD Foundation MFC after: 1 week --- 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 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