commit | 41d1b3e868c263e8b43dd5903a70633e05ae58a6 | [log] [tgz] |
---|---|---|
author | John Johansen <john.johansen@canonical.com> | Thu Feb 21 01:14:17 2013 -0800 |
committer | John Johansen <john.johansen@canonical.com> | Sun Apr 28 00:39:34 2013 -0700 |
tree | 1dace2cef2649ec402faa980ff4ca4ac88eb86f6 | |
parent | b492d50bf597b87ab7ea1e738ec837f74b11594e [diff] |
apparmor: Fix smatch warning in aa_remove_profiles smatch reports error: potential NULL dereference 'ns'. this can not actually occur because it relies on aa_split_fqname setting both ns_name and name as null but ns_name will actually always have a value in this case. so remove the unnecessary if (ns_name) conditional that is resulting in the false positive further down. Signed-off-by: John Johansen <john.johansen@canonical.com>