[Bug 261826] emulators/joytran: Fails to build: error: variable 'delay' set but not used [-Werror,-Wunused-but-set-variable]

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 26 Feb 2022 00:08:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261826

Kubilay Kocak <koobs@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needs-patch, needs-qa
             Status|New                         |Open
              Flags|                            |maintainer-feedback?(beyert
                   |                            |@cs.ucr.edu),
                   |                            |merge-quarterly?
            Summary|emulators/joytran:          |emulators/joytran: Fails to
                   |Maintainer fix variable set |build: error: variable
                   |but not used warning /      |'delay' set but not used
                   |error                       |[-Werror,-Wunused-but-set-v
                   |                            |ariable]
           Severity|Affects Only Me             |Affects Some People

--- Comment #1 from Kubilay Kocak <koobs@FreeBSD.org> ---
Thank you for the report and patch Timothy. As a rule of thumb and defacto
recommendation, ports should not build with -Werror. Can you provide a patch
that either disables this via build configuration or overrides it with
-Wno-error.

If you can submit warning fixes upstream too, that would be great

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.