summaryrefslogtreecommitdiffstats
path: root/src/run
diff options
context:
space:
mode:
Diffstat (limited to 'src/run')
-rw-r--r--src/run/run.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/run/run.c b/src/run/run.c
index b018d1547e..0ff8db6b3e 100644
--- a/src/run/run.c
+++ b/src/run/run.c
@@ -120,7 +120,7 @@ static void help(void) {
}
static int add_timer_property(const char *name, const char *val) {
- _cleanup_free_ char *p = NULL;
+ char *p;
assert(name);
assert(val);
@@ -132,8 +132,6 @@ static int add_timer_property(const char *name, const char *val) {
if (strv_consume(&arg_timer_property, p) < 0)
return log_oom();
- p = NULL;
-
return 0;
}