summaryrefslogtreecommitdiffstats
path: root/include/libaccess
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2010-07-01 11:39:02 -0600
committerRich Megginson <rmeggins@redhat.com>2010-07-01 16:50:41 -0600
commitc88f942bf4c3c804568f840b6dbe97abf10ebf96 (patch)
tree6e90e7c359c6043d5a6cd512e4aad8a7b5314946 /include/libaccess
parente4ca30c3b247073c0a31a7ba1b356a5b7beb01b4 (diff)
downloadds-bug610177.tar.gz
ds-bug610177.tar.xz
ds-bug610177.zip
Bug 610177 - fix coverity Defect Type: Uninitialized variables issuesbug610177
https://bugzilla.redhat.com/show_bug.cgi?id=610177 Resolves: bug 610177 Bug Description: fix coverity Defect Type: Uninitialized variables issues Reviewed by: nhosoi (Thanks!) Branch: HEAD Fix Description: Initialize variables to 0, NULL, or an appropriate error code. Got rid of the unused lexer code. Platforms tested: RHEL5 x86_64 Flag Day: no Doc impact: no
Diffstat (limited to 'include/libaccess')
-rw-r--r--include/libaccess/aclstruct.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/libaccess/aclstruct.h b/include/libaccess/aclstruct.h
index 6d464ffc..9f5da250 100644
--- a/include/libaccess/aclstruct.h
+++ b/include/libaccess/aclstruct.h
@@ -52,7 +52,6 @@
#include "base/systems.h"
#include "base/file.h"
-#include "base/lexer.h"
#include "nsauth.h" /* authentication types */
#include "symbols.h" /* typed symbol support */
#include "ipfstruct.h" /* IP address filter structures */
@@ -288,7 +287,6 @@ typedef struct ACLFile_s ACLFile_t;
struct ACLFile_s {
ACLFile_t * acf_next; /* list link */
char * acf_filename; /* pointer to filename string */
- LEXStream_t * acf_lst; /* LEX stream handle */
SYS_FILE acf_fd; /* file descriptor */
int acf_flags; /* bit flags (unused) */
int acf_lineno; /* current line number */