[apparmor] [patch] remove unused code from load_include()

Christian Boltz apparmor at cboltz.de
Sat Oct 3 21:20:03 UTC 2015


Hello,

Am Sonntag, 13. September 2015 schrieb Christian Boltz:
> $subject ;-)
> 
> load_include() has a "if not incdata:" block which would be entered if
> parse_profile_data() returns None. However, parse_profile_data()
> always returns a hasher with [incfile][incfile] = profile_storage(),
> so that "if not incdata:" never matches.
> 
> 
> [ 89-remove-unused-code-in-load_include.diff ]

Any comments or reviews on this patch?

If nobody objects, I'll commit it on Wednesday as Acked-by <timeout>.


Regards,

Christian Boltz
-- 
Frauen, Autos und Postfixbücher verleiht man nicht ;-)
[Matthias Ebner in postfixbuch-users]




More information about the AppArmor mailing list