projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2657d5b
)
core/service: inline one variable
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Sun, 2 Apr 2023 12:59:48 +0000
(14:59 +0200)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Mon, 3 Apr 2023 13:28:53 +0000
(15:28 +0200)
src/core/service.c
patch
|
blob
|
history
diff --git
a/src/core/service.c
b/src/core/service.c
index e0e56af19c7b285c2ccce20b98788a784d91bd1b..4fa96b38c06a1bbafcfbcf4343e965d6aa2df3bb 100644
(file)
--- a/
src/core/service.c
+++ b/
src/core/service.c
@@
-875,7
+875,6
@@
static int service_load(Unit *u) {
}
static void service_dump(Unit *u, FILE *f, const char *prefix) {
- ServiceExecCommand c;
Service *s = SERVICE(u);
const char *prefix2;
@@
-977,8
+976,7
@@
static void service_dump(Unit *u, FILE *f, const char *prefix) {
kill_context_dump(&s->kill_context, f, prefix);
exec_context_dump(&s->exec_context, f, prefix);
- for (c = 0; c < _SERVICE_EXEC_COMMAND_MAX; c++) {
-
+ for (ServiceExecCommand c = 0; c < _SERVICE_EXEC_COMMAND_MAX; c++) {
if (!s->exec_command[c])
continue;