diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2025-07-07 17:40:28 -0400 |
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2025-07-07 17:40:28 -0400 |
| commit | b02d868a4f74194f910f8ce173cb5586bc62a31a (patch) | |
| tree | 8694132a54eb4ab3892294f4b119c78fb8e500cb | |
| parent | dc6bbddab79bab20c5c2d2994cf6eae66bcd767e (diff) | |
| download | stasis-b02d868a4f74194f910f8ce173cb5586bc62a31a.tar.gz | |
Offset is constant
| -rw-r--r-- | src/lib/core/environment.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/core/environment.c b/src/lib/core/environment.c index 02bbf82..39d8116 100644 --- a/src/lib/core/environment.c +++ b/src/lib/core/environment.c @@ -410,6 +410,7 @@ void runtime_set(RuntimeEnv *env, const char *_key, char *_value) { if (_key == NULL) { return; } + const ssize_t key_offset = runtime_contains(env, _key); char *key = strdup(_key); if (!key) { SYSERROR("%s", "unable to allocate memory for key"); |
