Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests/capi: fix compiler warning #118

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

ligurio
Copy link
Owner

@ligurio ligurio commented Jan 27, 2025

[ 66%] Built target lua_mutate
/home/sergeyb/sources/lua-c-api-tests/tests/capi/lua_load_test.cc:62:14: warning: unused variable 'mode' [-Wunused-variable]
   62 |         const char *mode = "t";
      |                     ^~~~

The patch fixes a compiler warning about unused variable 'mode':

```
[ 66%] Built target lua_mutate
/home/sergeyb/sources/lua-c-api-tests/tests/capi/lua_load_test.cc:62:14: warning: unused variable 'mode' [-Wunused-variable]
   62 |         const char *mode = "t";
      |                     ^~~~
```
@ligurio ligurio force-pushed the ligurio/gh-xxxx-fix-compiler-warning branch from cabcf02 to 5828dec Compare January 27, 2025 14:04
@ligurio ligurio merged commit 68e6271 into master Jan 27, 2025
11 checks passed
@ligurio ligurio deleted the ligurio/gh-xxxx-fix-compiler-warning branch January 27, 2025 14:25
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.

1 participant