mirror of
https://github.com/troglobit/finit.git
synced 2026-10-23 11:44:37 +00:00
Rename local variable shadowing variable in outer scope
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
e72b61c9c9
commit
97ce0aa519
3 files changed
+9
-9
No files matched your search
+3
-3
@@ -1351,10 +1351,10 @@ restart:
|
||||
svc_set_state(svc, SVC_RUNNING_STATE);
|
||||
/* Reassert condition if we go from waiting and no change */
|
||||
if (!svc_is_changed(svc)) {
|
||||
char cond[MAX_COND_LEN];
|
||||
char name[MAX_COND_LEN];
|
||||
|
||||
mkcond(cond, sizeof(cond), svc->cmd);
|
||||
cond_set_path(cond_path(cond), COND_ON);
|
||||
mkcond(name, sizeof(name), svc->cmd);
|
||||
cond_set_path(cond_path(name), COND_ON);
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in new issue
Block a user