lib/sepolicy: Drop duplicate assignment
Spotted by Coverity as issue #1452619. Signed-off-by: Philip Withnall <withnall@endlessm.com> Closes: #1059 Approved by: cgwalters
This commit is contained in:
1 parent
4f187b576d
commit
e9b9123bae
1 file changed
+1
-1
@@ -328,7 +328,7 @@ initable_init (GInitable *initable,
|
|||||||
g_autoptr(GFile) policy_root = NULL;
|
g_autoptr(GFile) policy_root = NULL;
|
||||||
if (g_file_query_exists (policy_config_path, NULL))
|
if (g_file_query_exists (policy_config_path, NULL))
|
||||||
{
|
{
|
||||||
g_autoptr(GFileInputStream) filein = filein = g_file_read (policy_config_path, cancellable, error);
|
g_autoptr(GFileInputStream) filein = g_file_read (policy_config_path, cancellable, error);
|
||||||
|
|
||||||
if (!filein)
|
if (!filein)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|||||||
Reference in new issue
Block a user