1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-03-08 20:58:20 +03:00

coredump: drop an unused variable

(cherry picked from commit 9abe4cfc39579037937c63602ce8fe4f51746d38)
This commit is contained in:
Frantisek Sumsal 2022-08-20 21:04:24 +02:00 committed by Luca Boccassi
parent 5f09fa4d5e
commit 94a25aa6d5

View File

@ -911,7 +911,6 @@ log:
}
static int save_context(Context *context, const struct iovec_wrapper *iovw) {
unsigned count = 0;
const char *unit;
int r;
@ -935,7 +934,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;
}
}