Re: [PATCH] selinux: remove redundant assignment to str

2017-10-16 Thread Paul Moore
On Sat, Oct 14, 2017 at 8:46 AM, Colin King wrote: > From: Colin Ian King > > str is being assigned to an empty string but str is never being > read after that, so the assignment is redundant and can be removed. > Moving the declaration of str to a more localised block, cleans up > clang warning:

[PATCH] selinux: remove redundant assignment to str

2017-10-14 Thread Colin King
From: Colin Ian King str is being assigned to an empty string but str is never being read after that, so the assignment is redundant and can be removed. Moving the declaration of str to a more localised block, cleans up clang warning: "Value stored to 'str' is never read" Signed-off-by: Colin Ia