audit: fix build break when AUDIT_DEBUG == 2
authorEric Paris <eparis@redhat.com>
Tue, 16 Apr 2013 14:17:02 +0000 (10:17 -0400)
committerEric Paris <eparis@redhat.com>
Tue, 16 Apr 2013 14:17:02 +0000 (10:17 -0400)
commit34c474de7b4bd451396d67647ac728b0433379a9
tree739ab98b2c0e0fa92f49ba3dee27c15a5915ea9e
parent72199caa8dc7f71d29328069b588340201ee73d7
audit: fix build break when AUDIT_DEBUG == 2

Looks like this one has been around since 5195d8e21:

kernel/auditsc.c: In function ‘audit_free_names’:
kernel/auditsc.c:998: error: ‘i’ undeclared (first use in this function)

...and this warning:

kernel/auditsc.c: In function ‘audit_putname’:
kernel/auditsc.c:2045: warning: ‘i’ may be used uninitialized in this function

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
kernel/auditsc.c