1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-01 08:58:29 +03:00

dissect: drop unnecessary {}

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2022-05-07 22:36:23 +02:00
parent 4e5f4733c5
commit 7f5b2615a7

View File

@ -372,12 +372,11 @@ static int strv_pair_to_json(char **l, JsonVariant **ret) {
static void strv_pair_print(char **l, const char *prefix) {
assert(prefix);
STRV_FOREACH_PAIR(p, q, l) {
STRV_FOREACH_PAIR(p, q, l)
if (p == l)
printf("%s %s=%s\n", prefix, *p, *q);
else
printf("%*s %s=%s\n", (int) strlen(prefix), "", *p, *q);
}
}
static int get_sysext_scopes(DissectedImage *m, char ***ret_scopes) {