1
0
Fork 0

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>
zero-colors
Markus Elfring 2017-01-14 19:02:42 +01:00 committed by Paul Moore
parent 315e01ada8
commit 02fcef27cc
1 changed files with 0 additions and 1 deletions

View File

@ -1929,7 +1929,6 @@ static int filename_trans_read(struct policydb *p, void *fp)
nel = le32_to_cpu(buf[0]);
for (i = 0; i < nel; i++) {
ft = NULL;
otype = NULL;
name = NULL;