Date: Wed, 09 Feb 2022 13:02:05 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 261826] emulators/joytran: Maintainer fix variable set but not used warning / error Message-ID: <bug-261826-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261826 Bug ID: 261826 Summary: emulators/joytran: Maintainer fix variable set but not used warning / error Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: beyert@cs.ucr.edu Created attachment 231675 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D231675&action= =3Dedit fix variable set but not used warning / error Fixes build error for emulators/joytran on modern compilers by not initiali= zing variable delay to 0 when the initialized value will never be used. The error is as follows: * error: variable 'delay' set but not used [-Werror,-Wunused-but-set-varia= ble] --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261826-7788>