summaryrefslogtreecommitdiffstats
path: root/src/shared/discover-image.c
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2022-11-11 12:08:26 +0100
committerDaan De Meyer <daan.j.demeyer@gmail.com>2022-11-11 16:31:32 +0100
commit12e2b70f9b849e54018f147b8a11154cd5e2dcf6 (patch)
tree6f887f1589d85f1da57bd81b8e06d5fa3982a4e1 /src/shared/discover-image.c
parentstrv: Make sure strv_make_nulstr() always returns a valid nulstr (diff)
downloadsystemd-12e2b70f9b849e54018f147b8a11154cd5e2dcf6.tar.xz
systemd-12e2b70f9b849e54018f147b8a11154cd5e2dcf6.zip
nulstr-util: Declare NULSTR_FOREACH() iterator inline
Diffstat (limited to 'src/shared/discover-image.c')
-rw-r--r--src/shared/discover-image.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/shared/discover-image.c b/src/shared/discover-image.c
index fad95f7f43..073e5e8433 100644
--- a/src/shared/discover-image.c
+++ b/src/shared/discover-image.c
@@ -429,7 +429,6 @@ int image_find(ImageClass class,
const char *root,
Image **ret) {
- const char *path;
int r;
assert(class >= 0);
@@ -533,7 +532,6 @@ int image_discover(
const char *root,
Hashmap *h) {
- const char *path;
int r;
assert(class >= 0);
@@ -1262,8 +1260,6 @@ bool image_in_search_path(
const char *root,
const char *image) {
- const char *path;
-
assert(image);
NULSTR_FOREACH(path, image_search_path[class]) {