From nobody Fri Mar 18 09:04:23 2022 X-Original-To: dev-commits-src-main@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 7DAB11A37D3B; Fri, 18 Mar 2022 09:04:23 +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 4KKdP32s9lz3Myc; Fri, 18 Mar 2022 09:04:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647594263; 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=K5KjeInNtVC0EHxKsYv/rmnaojofcYH10xn8QqpiTik=; b=vI8puB88CFzm6ZPCLvVS1WdET/kZXsYAWR5fMgx9VAyFFM2P0MlMaOmfB59K3acMNkgT9h yq3nscd0lUcwuzIC0ozEzUi+ulCfXfe9jBWJdaFUvKYlMpMV2VH3o5E30ZCX+g3k49A9F0 DaAw71ghgYwgFXFMtTV7VhWRsnkcayiQDIBr3A9KE9CdtOnCU2/VJLLuBLMClZCLd5XAsY R7v+CqJunc3sZ6Bf59hqUDua1JouQFur1VM79ZTlEbZ01+U0cIPQCNZF+k+04taXVy5duW eYqPtkBfWuBdfPOrbiMnAygl0RcO+3Igcd+mPmZois8ezZBotw0uG/3ohgxJgQ== 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 428691BED5; Fri, 18 Mar 2022 09:04:23 +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 22I94NSP052735; Fri, 18 Mar 2022 09:04:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22I94NNZ052734; Fri, 18 Mar 2022 09:04:23 GMT (envelope-from git) Date: Fri, 18 Mar 2022 09:04:23 GMT Message-Id: <202203180904.22I94NNZ052734@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Piotr Pawel Stefaniak Subject: git: fde687c239e5 - main - backlight: Remove set but not used variable List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pstef X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fde687c239e55da067ebd94cfa36e3a8b3a57167 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647594263; 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=K5KjeInNtVC0EHxKsYv/rmnaojofcYH10xn8QqpiTik=; b=AL/2j65A/qnIx5xdih0cpz9Yz46Zkzb6tJ31d/nrjQ2qcrzFlD+RwBMLQRXax0WJOCN+lI sHJ+rVW9zJpFQ4XWHhpXU0ZcVeGFatIDwRGSfo1g1qouc3Tu5RhzdPjhaTH2mtbsrl+g77 4t94x6NJ7lnvOwWgIw6lX6iP+hbaGpoVkRo5UjZlFRbIYx0QzLWK27zjZ5Rcex1qL4B2yC cTQeQR+5p9/W9D4G39Bnd9MHkkYSZ1gJJESlJFg4RHZglx80t3yt6LJT6RGyTqDlxQTpP0 DJU8xBQ1isBMP1ZbXKtcbdHEKV83wd1As6JesALomY9XcUWzqndxtwyl3EjDzA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647594263; a=rsa-sha256; cv=none; b=Vj+eSETlMuP5/DPmVMcR1l8GcoDloYNYj5c69lzn43xqWrPtVcdtE3owBZ10lxUC/rL2Fz EAdKa6uN727yajM+/0V+5HdtJG8yZuSVqY4rhC9AQukh+gknMRZCFAHFA2ijC4GW1HNPU3 NeJPG+IeXJnmklIrzf6hKACdbP05UJLqebD6FmKQp00X19CNTxPM0XGPqxuUPcBTnUoJgA 8QuA9YIbV1t0DyI18YoH2ceaDefgZXg+XGdzNOe0gJwjULOuI4p2V/+P1ybWUjRgC3OGXM BKhug2YXOlDiaaDU7twAaK5DZk56IGq/RJSTS9l8ETM7HkOGc0yHBRELIYESXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pstef: URL: https://cgit.FreeBSD.org/src/commit/?id=fde687c239e55da067ebd94cfa36e3a8b3a57167 commit fde687c239e55da067ebd94cfa36e3a8b3a57167 Author: Piotr Pawel Stefaniak AuthorDate: 2022-03-17 21:37:15 +0000 Commit: Piotr Pawel Stefaniak CommitDate: 2022-03-18 09:03:55 +0000 backlight: Remove set but not used variable --- usr.bin/backlight/backlight.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/usr.bin/backlight/backlight.c b/usr.bin/backlight/backlight.c index 9cf7a0912e95..7c3f295223f5 100644 --- a/usr.bin/backlight/backlight.c +++ b/usr.bin/backlight/backlight.c @@ -101,11 +101,9 @@ main(int argc, char *argv[]) long percent = -1; const char *percent_error; uint32_t i; - bool setname; bool quiet = false; action = BACKLIGHT_QUERY; - setname = false; fd = -1; while ((ch = getopt(argc, argv, "f:qhi")) != -1) { @@ -114,7 +112,6 @@ main(int argc, char *argv[]) quiet = true; break; case 'f': - setname = true; set_device_name(optarg); break; case 'i':