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: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Paul Moore <paul@paul-moore.com>
This commit is contained in:

committed by
Paul Moore

parent
315e01ada8
commit
02fcef27cc
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user