-
Notifications
You must be signed in to change notification settings - Fork 72
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
spdb_memtable: build fails due to an unused argumet #91
Labels
bug
Something isn't working
Comments
Reported by @assaf-speedb |
isaac-io
added a commit
that referenced
this issue
Jul 31, 2022
A last minute change before merging #30 breaks builds that configure `-Werror=unused-parameter` (this is the default for some GCC versions with the `-Wextra` configuration). Fix it by not declaring the `logger` argument to the `CreateMemTableRep()` function.
isaac-io
added a commit
that referenced
this issue
Jul 31, 2022
A last minute change before merging #30 breaks builds that configure `-Werror=unused-parameter` (this is the default for some GCC versions with the `-Wextra` configuration). Fix it by not declaring the `logger` argument to the `CreateMemTableRep()` function.
Yuval-Ariel
pushed a commit
that referenced
this issue
Nov 23, 2022
A last minute change before merging #30 breaks builds that configure `-Werror=unused-parameter` (this is the default for some GCC versions with the `-Wextra` configuration). Fix it by not declaring the `logger` argument to the `CreateMemTableRep()` function.
Yuval-Ariel
pushed a commit
that referenced
this issue
Nov 25, 2022
A last minute change before merging #30 breaks builds that configure `-Werror=unused-parameter` (this is the default for some GCC versions with the `-Wextra` configuration). Fix it by not declaring the `logger` argument to the `CreateMemTableRep()` function.
Yuval-Ariel
pushed a commit
that referenced
this issue
Apr 30, 2023
A last minute change before merging #30 breaks builds that configure `-Werror=unused-parameter` (this is the default for some GCC versions with the `-Wextra` configuration). Fix it by not declaring the `logger` argument to the `CreateMemTableRep()` function.
udi-speedb
pushed a commit
that referenced
this issue
Oct 31, 2023
A last minute change before merging #30 breaks builds that configure `-Werror=unused-parameter` (this is the default for some GCC versions with the `-Wextra` configuration). Fix it by not declaring the `logger` argument to the `CreateMemTableRep()` function.
udi-speedb
pushed a commit
that referenced
this issue
Dec 1, 2023
A last minute change before merging #30 breaks builds that configure `-Werror=unused-parameter` (this is the default for some GCC versions with the `-Wextra` configuration). Fix it by not declaring the `logger` argument to the `CreateMemTableRep()` function.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Due to a last minute change before merging #30, the
logger
argument toCreateMemTableRep()
is now unused. In some configurations where unused variables are treated as errors, this breaks the compilation.This currently breaks the QA unit test runs.
To Reproduce
Compile
main
with-Werror
and-Wunused-parameter
. It fails with:Expected behavior
Compilation succeeds.
System (please complete the following information)
Additional context
N/A
The text was updated successfully, but these errors were encountered: