Summary: | devel/frink: fix build with clang 13 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Dimitry Andric <dim> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | portmaster | ||||
Priority: | --- | Flags: | portmaster:
maintainer-feedback+
|
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 258209 | ||||||
Attachments: |
|
Description
Dimitry Andric
![]() ![]() Created attachment 227866 [details]
devel/frink: fix unused but set variables
Comment on attachment 227866 [details]
devel/frink: fix unused but set variables
LGTM
Been real busy. Thank for doing this! :-)
--Chris
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=9118b8848d5ad2b51d8af3ed72b45b618f5caf36 commit 9118b8848d5ad2b51d8af3ed72b45b618f5caf36 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2021-09-15 07:42:49 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2021-09-15 07:47:47 +0000 devel/frink: fix unused but set variables Clang 13 now has a -Wunused-but-set-variable warning, which is emitted a few times in devel/frink. Remove the variables that were unused. PR: 258470 Approved by: portmaster@bsdforge.com (maintainer) MFH: 2021Q3 devel/frink/Makefile | 2 +- devel/frink/files/patch-tcl.c | 72 +++++++++++++++++++++++++++++++---------- devel/frink/files/patch-token.c | 37 +++++++++++++++------ 3 files changed, 84 insertions(+), 27 deletions(-) |