Rename local variable shadowing variable in outer scope

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2020-02-28 14:36:14 +01:00
1 parent e72b61c9c9
commit 97ce0aa519
3 files changed
+9 -9

No files matched your search

+3 -3
View File
@@ -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;