From 4a103859b7100bc30046ecba3efca2e8f0b09c7d Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Thu, 1 Jul 2010 11:39:02 -0600 Subject: Bug 610177 - fix coverity Defect Type: Uninitialized variables issues 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 --- include/libaccess/aclstruct.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/libaccess') 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 */ -- cgit