提交 02fcef27 编写于 作者: M Markus Elfring 提交者: Paul Moore

selinux: Delete an unnecessary variable assignment in filename_trans_read()

The local variable "ft" was set to a null pointer despite of an
immediate reassignment.
Thus remove this statement from the beginning of a loop.
Signed-off-by: NMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: NPaul Moore <paul@paul-moore.com>
上级 315e01ad
...@@ -1929,7 +1929,6 @@ static int filename_trans_read(struct policydb *p, void *fp) ...@@ -1929,7 +1929,6 @@ static int filename_trans_read(struct policydb *p, void *fp)
nel = le32_to_cpu(buf[0]); nel = le32_to_cpu(buf[0]);
for (i = 0; i < nel; i++) { for (i = 0; i < nel; i++) {
ft = NULL;
otype = NULL; otype = NULL;
name = NULL; name = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册