mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
cgls: avoid writing an unused value
silences a build-scan warning for the unused value in r
This commit is contained in:
parent
2667cc2589
commit
5706b3e78d
@ -215,7 +215,7 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
path = unit_dbus_path_from_name(scope);
|
||||
if (!path) {
|
||||
r = log_oom();
|
||||
log_oom();
|
||||
goto finish;
|
||||
}
|
||||
|
||||
@ -242,7 +242,7 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
root = strdup(cgroup);
|
||||
if (!root) {
|
||||
r = log_oom();
|
||||
log_oom();
|
||||
goto finish;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user