Skip to content

diodcli: drop unused variable#170

Merged
mergify[bot] merged 1 commit intochaos:masterfrom
garlick:issue#169
Feb 17, 2026
Merged

diodcli: drop unused variable#170
mergify[bot] merged 1 commit intochaos:masterfrom
garlick:issue#169

Conversation

@garlick
Copy link
Member

@garlick garlick commented Feb 16, 2026

Problem: pre-release gcc-16 throws unused-but-set-variable error in diodcli.c

Drop unused variable.

Fixes #169

@P3p111n0 would you be able to retest with this patch? It's a bit of a pain to set up gcc-16 at the moment since it's not yet released, so I'm not sure if more will be needed. Thanks.

Copy link
Member

@grondo grondo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@P3p111n0
Copy link

Problem: pre-release gcc-16 throws unused-but-set-variable error in diodcli.c

Drop unused variable.

Fixes #169

@P3p111n0 would you be able to retest with this patch? It's a bit of a pain to set up gcc-16 at the moment since it's not yet released, so I'm not sure if more will be needed. Thanks.

Can confirm that this patch fixes the issue. Thanks :)

Problem: pre-release gcc-16 throws unused-but-set-variable
error in diodcli.c

Drop unused variable.

Fixes chaos#169
@mergify
Copy link
Contributor

mergify bot commented Feb 17, 2026

Merge Queue Status

Rule: default


  • Entered queue2026-02-17 17:22 UTC
  • Checks passed · in-place
  • Merged2026-02-17 17:23 UTC · at 724e8699dd96948f8a4b44985b991fb82bc6c1a2

This pull request spent 48 seconds in the queue, with no time running CI.

Required conditions to merge

@mergify mergify bot merged commit a8c55f0 into chaos:master Feb 17, 2026
6 of 7 checks passed
@mergify mergify bot removed the queued label Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

diod doesn't build with GCC 16 with -Werror

3 participants