Skip to content

fix error reported by clang 19#502

Merged
rockowitz merged 1 commit into
rockowitz:2.2.1-devfrom
clan:clang
Feb 26, 2025
Merged

fix error reported by clang 19#502
rockowitz merged 1 commit into
rockowitz:2.2.1-devfrom
clan:clang

Conversation

@clan
Copy link
Copy Markdown
Contributor

@clan clan commented Feb 26, 2025

  1. query_sysenv_i2c.c: error: variable 'busct' set but not used [-Werror,-Wunused-but-set-variable]
  2. i2c_strategy_dispatcher.c: error: expression which evaluates to zero treated as a null pointer

1. query_sysenv_i2c.c: error: variable 'busct' set but not used [-Werror,-Wunused-but-set-variable]
2. i2c_strategy_dispatcher.c: error: expression which evaluates to zero treated as a null pointer

Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
Copy link
Copy Markdown
Owner

@rockowitz rockowitz left a comment

Choose a reason for hiding this comment

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

Thank you.

@rockowitz rockowitz merged commit 44fe5ad into rockowitz:2.2.1-dev Feb 26, 2025
@clan clan deleted the clang branch February 26, 2025 07:01
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.

2 participants