The branch main has been updated by pstef:

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

commit fde687c239e55da067ebd94cfa36e3a8b3a57167
Author:     Piotr Pawel Stefaniak <ps...@freebsd.org>
AuthorDate: 2022-03-17 21:37:15 +0000
Commit:     Piotr Pawel Stefaniak <ps...@freebsd.org>
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':

Reply via email to