mirror of
https://github.com/systemd/systemd.git
synced 2026-08-03 22:50:29 +00:00
core,journal: drop unnecessary !! casts
This commit is contained in:
@@ -5390,7 +5390,7 @@ int unit_set_exec_params(Unit *u, ExecParameters *p) {
|
||||
p->received_credentials_directory = u->manager->received_credentials_directory;
|
||||
p->received_encrypted_credentials_directory = u->manager->received_encrypted_credentials_directory;
|
||||
|
||||
p->shall_confirm_spawn = !!u->manager->confirm_spawn;
|
||||
p->shall_confirm_spawn = u->manager->confirm_spawn;
|
||||
|
||||
p->fallback_smack_process_label = u->manager->defaults.smack_process_label;
|
||||
|
||||
|
||||
@@ -318,7 +318,7 @@ static int parse_lines(const char *arg, bool graceful) {
|
||||
}
|
||||
|
||||
arg_lines = n;
|
||||
arg_lines_oldest = !!l;
|
||||
arg_lines_oldest = l;
|
||||
|
||||
return 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user