summaryrefslogtreecommitdiff
path: root/src/udev
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-09-16 09:32:21 +0900
committerGitHub <noreply@github.com>2021-09-16 09:32:21 +0900
commit73bf0f2ace1472ceb72295e0fe5e425998af8a86 (patch)
tree9e1bdee960c698ee507778ccda4d068639a20c35 /src/udev
parent28078aa5cce3846b01cdadb62aa68a1acc0a02cf (diff)
parent2ea7eb003c97c06174fa4c6625dfed281d5f3119 (diff)
downloadsystemd-73bf0f2ace1472ceb72295e0fe5e425998af8a86.tar.gz
Merge pull request #20738 from mrc0mmand/ci-llvm-13
ci: build with clang-13
Diffstat (limited to 'src/udev')
-rw-r--r--src/udev/udevd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index df720898ea..6df580d629 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -1136,7 +1136,8 @@ static int on_ctrl_msg(UdevCtrl *uctrl, UdevCtrlMessageType type, const UdevCtrl
manager_reload(manager);
break;
case UDEV_CTRL_SET_ENV: {
- _cleanup_free_ char *key = NULL, *val = NULL, *old_key = NULL, *old_val = NULL;
+ _unused_ _cleanup_free_ char *old_val = NULL;
+ _cleanup_free_ char *key = NULL, *val = NULL, *old_key = NULL;
const char *eq;
eq = strchr(value->buf, '=');