Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c5561700 authored by John Johansen's avatar John Johansen
Browse files

apparmor: Redundant condition: prev_ns. in [label.c:1498]

parent 5d314a81
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1495,7 +1495,7 @@ static int aa_profile_snxprint(char *str, size_t size, struct aa_ns *view,
		view = profiles_ns(profile);

	if (view != profile->ns &&
	    (!prev_ns || (prev_ns && *prev_ns != profile->ns))) {
	    (!prev_ns || (*prev_ns != profile->ns))) {
		if (prev_ns)
			*prev_ns = profile->ns;
		ns_name = aa_ns_name(view, profile->ns,