[Bug 263616] emulators/rtc: Fix build with 14-current

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 14 May 2022 16:41:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263616

--- Comment #1 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=e2c8ca5df4d2b07fb124f9b7dfa9d9f62f120a5d

commit e2c8ca5df4d2b07fb124f9b7dfa9d9f62f120a5d
Author:     Jamie Landeg-Jones <jamie@catflap.org>
AuthorDate: 2022-05-14 16:34:13 +0000
Commit:     Dmitri Goutnik <dmgk@FreeBSD.org>
CommitDate: 2022-05-14 16:40:10 +0000

    emulators/rtc: Unbreak build with llvm13

    rtc.c:112:6: error: variable 'unit' set but not used
[-Werror,-Wunused-but-set-variable]
            int unit;
                ^

    PR:             263616

 emulators/rtc/files/rtc.c | 6 ++++++
 1 file changed, 6 insertions(+)

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