tree-wide: simplify x ? x : y to x ?: y where applicable

This commit is contained in:
Frantisek Sumsal
2023-03-18 14:23:11 +01:00
parent 64254629f7
commit 1da3cb8141
14 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -3334,7 +3334,7 @@ static int setup_smack(
if (r < 0 && !ERRNO_IS_XATTR_ABSENT(r))
return r;
r = mac_smack_apply_pid(0, exec_label ? : manager->default_smack_process_label);
r = mac_smack_apply_pid(0, exec_label ?: manager->default_smack_process_label);
if (r < 0)
return r;
}