tree-wide: drop pointless zero initialization (#16884)

tree-wide: drop pointless zero initialization
This commit is contained in:
fangxiuning
2020-08-28 17:45:54 +02:00
committed by GitHub
parent cd17bb6e71
commit c53aafb7b5
8 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -106,7 +106,7 @@ int mac_smack_apply_fd(int fd, SmackAttr attr, const char *label) {
int mac_smack_apply_pid(pid_t pid, const char *label) {
const char *p;
int r = 0;
int r;
assert(label);
@@ -232,7 +232,7 @@ int mac_smack_fix_container(const char *path, const char *inside_path, LabelFixF
}
int mac_smack_copy(const char *dest, const char *src) {
int r = 0;
int r;
_cleanup_free_ char *label = NULL;
assert(dest);