From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 029B4138C92 for ; Mon, 24 Oct 2016 16:04:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1A8DE21C07E; Mon, 24 Oct 2016 16:03:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0634021C07E for ; Mon, 24 Oct 2016 16:03:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DE9CF341657 for ; Mon, 24 Oct 2016 16:03:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A625824AF for ; Mon, 24 Oct 2016 16:03:04 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1477324846.fdf49cd4990b345a34e022dccd818a550754e8f9.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:next commit in: support/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: support/fc_sort.c X-VCS-Directories: support/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: fdf49cd4990b345a34e022dccd818a550754e8f9 X-VCS-Branch: next Date: Mon, 24 Oct 2016 16:03:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4e424cd0-29ab-4dc3-a8e9-bba2d0c8dbe9 X-Archives-Hash: 2035bcd4383d196526b92c0221695f40 commit: fdf49cd4990b345a34e022dccd818a550754e8f9 Author: Rahul Chaudhry google com> AuthorDate: Wed Oct 12 19:19:48 2016 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Mon Oct 24 16:00:46 2016 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=fdf49cd4 fc_sort: cleanup warnings caught by clang tidy / static analyzer. Value stored to 'i' is never read. Variable 'j' is never used. support/fc_sort.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/support/fc_sort.c b/support/fc_sort.c index f4d2cd0..5561288 100644 --- a/support/fc_sort.c +++ b/support/fc_sort.c @@ -315,7 +315,7 @@ int main(int argc, char *argv[]) { int lines; size_t start, finish, regex_len, context_len; - size_t line_len, buf_len, i, j; + size_t line_len, buf_len, i; char *input_name, *output_name, *line_buf; file_context_node_t *temp; @@ -336,7 +336,7 @@ int main(int argc, char *argv[]) input_name = argv[1]; output_name = (argc >= 3) ? argv[2] : NULL; - i = j = lines = 0; + lines = 0; /* Open the input file. */ if (!(in_file = fopen(input_name, "r"))) { From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 42570138C92 for ; Mon, 24 Oct 2016 16:03:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 22841E0B77; Mon, 24 Oct 2016 16:02:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0AFF9E0B77 for ; Mon, 24 Oct 2016 16:02:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2A733341691 for ; Mon, 24 Oct 2016 16:02:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3064C24AF for ; Mon, 24 Oct 2016 16:02:22 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1477324846.fdf49cd4990b345a34e022dccd818a550754e8f9.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: support/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: support/fc_sort.c X-VCS-Directories: support/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: fdf49cd4990b345a34e022dccd818a550754e8f9 X-VCS-Branch: master Date: Mon, 24 Oct 2016 16:02:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a60fc8d1-cd50-47d7-90e6-18ced2985372 X-Archives-Hash: a32baff1eded3de418557cc1ad6c037a Message-ID: <20161024160222.WH3iGWzAByFEkHoI_xGo4d_-l4ka7AzoPkA3Xl5j2Mg@z> commit: fdf49cd4990b345a34e022dccd818a550754e8f9 Author: Rahul Chaudhry google com> AuthorDate: Wed Oct 12 19:19:48 2016 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Mon Oct 24 16:00:46 2016 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=fdf49cd4 fc_sort: cleanup warnings caught by clang tidy / static analyzer. Value stored to 'i' is never read. Variable 'j' is never used. support/fc_sort.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/support/fc_sort.c b/support/fc_sort.c index f4d2cd0..5561288 100644 --- a/support/fc_sort.c +++ b/support/fc_sort.c @@ -315,7 +315,7 @@ int main(int argc, char *argv[]) { int lines; size_t start, finish, regex_len, context_len; - size_t line_len, buf_len, i, j; + size_t line_len, buf_len, i; char *input_name, *output_name, *line_buf; file_context_node_t *temp; @@ -336,7 +336,7 @@ int main(int argc, char *argv[]) input_name = argv[1]; output_name = (argc >= 3) ? argv[2] : NULL; - i = j = lines = 0; + lines = 0; /* Open the input file. */ if (!(in_file = fopen(input_name, "r"))) { From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 409C7138C92 for ; Mon, 24 Oct 2016 16:03:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CB533E0B5C; Mon, 24 Oct 2016 16:02:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B608CE0B5C for ; Mon, 24 Oct 2016 16:02:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DE1D53416A4 for ; Mon, 24 Oct 2016 16:02:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2BFE224AE for ; Mon, 24 Oct 2016 16:02:33 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1477324846.fdf49cd4990b345a34e022dccd818a550754e8f9.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:swift commit in: support/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: support/fc_sort.c X-VCS-Directories: support/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: fdf49cd4990b345a34e022dccd818a550754e8f9 X-VCS-Branch: swift Date: Mon, 24 Oct 2016 16:02:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 34d3984e-19cd-4bb2-94de-73e6a60048df X-Archives-Hash: b232d0788a0696e4c301ca548526c3ad Message-ID: <20161024160233.3qXcxa3bvcEc6J_j5KOSnKwSsxu3091nt0t-9B0-NjM@z> commit: fdf49cd4990b345a34e022dccd818a550754e8f9 Author: Rahul Chaudhry google com> AuthorDate: Wed Oct 12 19:19:48 2016 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Mon Oct 24 16:00:46 2016 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=fdf49cd4 fc_sort: cleanup warnings caught by clang tidy / static analyzer. Value stored to 'i' is never read. Variable 'j' is never used. support/fc_sort.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/support/fc_sort.c b/support/fc_sort.c index f4d2cd0..5561288 100644 --- a/support/fc_sort.c +++ b/support/fc_sort.c @@ -315,7 +315,7 @@ int main(int argc, char *argv[]) { int lines; size_t start, finish, regex_len, context_len; - size_t line_len, buf_len, i, j; + size_t line_len, buf_len, i; char *input_name, *output_name, *line_buf; file_context_node_t *temp; @@ -336,7 +336,7 @@ int main(int argc, char *argv[]) input_name = argv[1]; output_name = (argc >= 3) ? argv[2] : NULL; - i = j = lines = 0; + lines = 0; /* Open the input file. */ if (!(in_file = fopen(input_name, "r"))) {