diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2025-11-06 08:57:08 -0500 |
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2025-11-06 08:57:08 -0500 |
| commit | 5497446232f56ce8ed931c5d64e6b82e5ee58b63 (patch) | |
| tree | a70c307cf659860f8bff9f42efb656b2635ba35c | |
| parent | 891059058771282b181ca06b2312249de129afbe (diff) | |
| download | stasis-5497446232f56ce8ed931c5d64e6b82e5ee58b63.tar.gz | |
Squelch unused argument warningsindexer-buffer-overlow
| -rw-r--r-- | src/lib/core/envctl.c | 3 | ||||
| -rw-r--r-- | src/lib/core/multiprocessing.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/core/envctl.c b/src/lib/core/envctl.c index 0be3f89..b036611 100644 --- a/src/lib/core/envctl.c +++ b/src/lib/core/envctl.c @@ -17,6 +17,8 @@ struct EnvCtl *envctl_init() { } static int callback_builtin_nop(const void *a, const void *b) { + (void) a; // Unused + (void) b; // Unused return STASIS_ENVCTL_RET_SUCCESS; } @@ -58,6 +60,7 @@ size_t envctl_get_index(const struct EnvCtl *envctl, const char *name) { } void envctl_decode_index(size_t in_i, size_t *state, size_t *out_i, size_t *name_i) { + (void) name_i; *state = ((in_i >> 63L) & 1); *out_i = in_i & 0xffffffffL; } diff --git a/src/lib/core/multiprocessing.c b/src/lib/core/multiprocessing.c index 0cf251e..d59a7cd 100644 --- a/src/lib/core/multiprocessing.c +++ b/src/lib/core/multiprocessing.c @@ -9,6 +9,7 @@ static struct MultiProcessingTask *mp_pool_next_available(struct MultiProcessing } int child(struct MultiProcessingPool *pool, struct MultiProcessingTask *task) { + (void) pool; FILE *fp_log = NULL; // The task starts inside the requested working directory |
