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

Warnings on build #21

Open
gkorland opened this issue Apr 13, 2022 · 0 comments
Open

Warnings on build #21

gkorland opened this issue Apr 13, 2022 · 0 comments

Comments

@gkorland
Copy link
Contributor

libmr_commands.c: In function ‘check_and_reply_on_error’:
libmr_commands.c:20:13: warning: format not a string literal and no format arguments [-Wformat-security]
   20 |             RedisModule_Log(rctx, "verbose", MR_ExecutionCtxGetError(eCtx, i));
      |             ^~~~~~~~~~~~~~~
rdb.c: In function ‘series_rdb_load’:
rdb.c:120:30: warning: ‘totalSamples’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  120 |         series->totalSamples = totalSamples;
      |         ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
rdb.c:124:31: warning: ‘lastTimestamp’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  124 |         series->lastTimestamp = lastTimestamp;
      |         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
rdb.c:125:27: warning: ‘lastValue’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  125 |         series->lastValue = lastValue;
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

No branches or pull requests

1 participant