audit: fix uninitialized variable in audit_add_rule()
authorPaul Moore <pmoore@redhat.com>
Wed, 5 Aug 2015 15:19:45 +0000 (11:19 -0400)
committerPaul Moore <pmoore@redhat.com>
Wed, 5 Aug 2015 15:19:45 +0000 (11:19 -0400)
commitae9d2fb482fa48f637b6705e6fef6f7f999ec779
tree657531e9d7852dd72d0029075a240e6c12cd1c69
parentaa7c043d9783f538319e77deeae5d90ff5d6907b
audit: fix uninitialized variable in audit_add_rule()

As reported by the 0-Day testing service:

   kernel/auditfilter.c: In function 'audit_rule_change':
>> kernel/auditfilter.c:864:6: warning: 'err' may be used uninit...
     int err;

Cc: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Paul Moore <pmoore@redhat.com>
kernel/auditfilter.c