Skip to content

fix: unused variable warning when output is disabled#18

Merged
MaJerle merged 1 commit into
MaJerle:developfrom
Dazza0:fix/unused_str_if_no_output
May 6, 2025
Merged

fix: unused variable warning when output is disabled#18
MaJerle merged 1 commit into
MaJerle:developfrom
Dazza0:fix/unused_str_if_no_output

Conversation

@Dazza0

@Dazza0 Dazza0 commented May 6, 2025

Copy link
Copy Markdown
Contributor

The str variable in lwshell_input_ex() is unused if LWSHELL_CFG_USE_OUTPUT is disabled, leading to a -Wunused-variable warning.

'str' is unused if LWSHELL_CFG_USE_OUTPUT is disabled
@CLAassistant

CLAassistant commented May 6, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@MaJerle

MaJerle commented May 6, 2025

Copy link
Copy Markdown
Owner

Thanks.

@MaJerle MaJerle merged commit fae8566 into MaJerle:develop May 6, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants