X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-it1-f171.google.com (mail-it1-f171.google.com [209.85.166.171]) by lists.alpinelinux.org (Postfix) with ESMTP id 319D7F81624 for ; Fri, 22 Feb 2019 15:50:22 +0000 (UTC) Received: by mail-it1-f171.google.com with SMTP id h6so3772692itl.1 for ; Fri, 22 Feb 2019 07:50:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=c10DLY3MX8lnxG8qiryZ47CcdHhXwYZOo2SW9uRE1Zc=; b=puoAeWMNbKZmlQbGFcx7xS4Ch2sN7Q4eS2bcpRBVG/pRxIcYG9H5FMYJKKzVaOQxXM TtKpvqK/etl1Ue4nFZJDEfT7h4p8akMH8YRWQfGLzzq7kscXPSXmsCskrUFLgwtr0wuz GquNxFiXcp7PzMljFjtZcnKIQNVPvQXmloLW/tFMQvtYsrroBUXQNECP4Vt4hVvCSqYe +gZPdzM9iJAvyphvLHC74dkb/G4TE6kgV99qTVSFsIgOQ7KvsR4Z1r8c8+Pqlob1nkQY Go+hR+NF/a1zKuOC7tqmmx4EbmjLm9mtxlbjZyHNjBI6L15EDSB4I9FUSU3LWVAMHKfF /K/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=c10DLY3MX8lnxG8qiryZ47CcdHhXwYZOo2SW9uRE1Zc=; b=ALHGopJD/cE5C5tEVEM3W/MT6dtd6GM32ZLQEfiz0+wNlYcWVLsSDGQYkTrn7Ez0W9 533tQqe7xt80Q0TKyAFyKFo1Sd0VcknQrlHO4SIIFgxPlVB/t9hoRwBS0o72JRxrbqLO 8KJcmH39rYgs+PnwYD2NzKFGMq/yd0CfN37ugkvrQjvGilAwrScNBl3MurL1D3fL1iGz L2gS5wuLYPG5H7rZYrpPB/IgIzgQFg3Ok9t+1mUmmhKr/Kpx4aIKrC8tpgWz+nQia20s FbVCszqwmsBpSoZ4yEyq6R/fGuIxQupfNHw6kfyNk5APEkGgCdwKHRI7rinyznUpJbk1 tIsw== X-Gm-Message-State: AHQUAuY9zKGpD2UFjGsgtSNnC9tn4Xp18NRO49aza8iyJ0m23TheT7Lq Rlkw4YhL0CeUjKE4ZxvtEAPEzrb+ubU= X-Google-Smtp-Source: AHgI3IZO7U0VYB5qd+wAt68McTFJcg9AIAkCunXqsM80SHE2c76bpOqfLHAd0yw8hNHTYUBYP7qlwg== X-Received: by 2002:a24:3d0f:: with SMTP id n15mr2706912itn.1.1550850621445; Fri, 22 Feb 2019 07:50:21 -0800 (PST) Received: from localhost.localdomain ([165.227.41.113]) by smtp.gmail.com with ESMTPSA id c31sm804925itd.25.2019.02.22.07.50.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 22 Feb 2019 07:50:20 -0800 (PST) From: Robert Hencke To: alpine-devel@lists.alpinelinux.org Cc: Robert Hencke Subject: [alpine-devel] [PATCH] abuild-sudo: remove unused variable Date: Fri, 22 Feb 2019 10:50:01 -0500 Message-Id: <20190222155001.99946-1-robert.hencke@gmail.com> X-Mailer: git-send-email 2.17.2 (Apple Git-113) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: This prevents clang from issuing a warning here. --- abuild-sudo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abuild-sudo.c b/abuild-sudo.c index 3afd887..80ceb8d 100644 --- a/abuild-sudo.c +++ b/abuild-sudo.c @@ -50,7 +50,7 @@ int is_in_group(gid_t group) { int ngroups_max = sysconf(_SC_NGROUPS_MAX) + 1; gid_t *buf = malloc(ngroups_max * sizeof(gid_t)); - int ngroups, ret = 0; + int ngroups; int i; if (buf == NULL) { perror("malloc"); -- 2.17.2 (Apple Git-113) --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---