Skip to content

fix: unused variable warning when output is disabled#18

Merged
MaJerle merged 1 commit intoMaJerle: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 intoMaJerle:developfrom
Dazza0:fix/unused_str_if_no_output

Conversation

@Dazza0
Copy link
Contributor

@Dazza0 Dazza0 commented May 6, 2025

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
Copy link

CLAassistant commented May 6, 2025

CLA assistant check
All committers have signed the CLA.

@MaJerle
Copy link
Owner

MaJerle commented May 6, 2025

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