diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2022-08-20 21:04:24 +0200 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2022-08-20 21:04:24 +0200 |
commit | 9abe4cfc39579037937c63602ce8fe4f51746d38 (patch) | |
tree | 7e264340730d7e580d41ea26ec57e0831509bf1f /src/coredump | |
parent | f8769631e13914b2fad45fe746df79c92e3a131a (diff) | |
download | systemd-9abe4cfc39579037937c63602ce8fe4f51746d38.tar.gz |
coredump: drop an unused variable
Diffstat (limited to 'src/coredump')
-rw-r--r-- | src/coredump/coredump.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/coredump/coredump.c b/src/coredump/coredump.c index 3ec41a32c3..98e7492811 100644 --- a/src/coredump/coredump.c +++ b/src/coredump/coredump.c @@ -931,7 +931,6 @@ log: } static int save_context(Context *context, const struct iovec_wrapper *iovw) { - unsigned count = 0; const char *unit; int r; @@ -955,7 +954,6 @@ static int save_context(Context *context, const struct iovec_wrapper *iovw) { p = startswith(iovec->iov_base, meta_field_names[i]); if (p) { context->meta[i] = p; - count++; break; } } |