[Fedora-directory-commits] ldapserver/lib/libaccess acltools.cpp, 1.7, 1.8 oneeval.cpp, 1.7, 1.8 symbols.cpp, 1.5, 1.6
Noriko Hosoi (nhosoi)
fedora-directory-commits at redhat.com
Thu Oct 18 00:08:40 UTC 2007
Author: nhosoi
Update of /cvs/dirsec/ldapserver/lib/libaccess
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25950/lib/libaccess
Modified Files:
acltools.cpp oneeval.cpp symbols.cpp
Log Message:
Resolves: #188320
Summary: HP-UX: warnings reported by the HP-UX compiler
Index: acltools.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/acltools.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- acltools.cpp 10 Nov 2006 23:46:02 -0000 1.7
+++ acltools.cpp 18 Oct 2007 00:08:36 -0000 1.8
@@ -2505,7 +2505,6 @@
int
rename_acl_in_file(char * filename, char * aclname, char * newname)
{
- ACLListHandle_t * racllist=NULL;
char * pattern=NULL;
char header[] = "version 3.0;\n";
int headerlen = strlen(header);
@@ -2565,7 +2564,7 @@
memcpy(&text[headerlen], aclhead, len);
text[headerlen + len] = 0;
- if ((racllist=ACL_ParseString(NULL, text))==NULL) {
+ if (ACL_ParseString(NULL, text)==NULL) {
rv = ACLERRPARSE;
goto rename_cleanup;
}
Index: oneeval.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/oneeval.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- oneeval.cpp 10 Nov 2006 23:46:02 -0000 1.7
+++ oneeval.cpp 18 Oct 2007 00:08:36 -0000 1.8
@@ -292,7 +292,6 @@
{
ACLAceEntry_t *cur_ace, *next_ace;
ACLAceNumEntry_t *cur_num_p, *next_num_p;
- ACLExprHandle_t *acep;
if (!cache)
return 0;
@@ -309,7 +308,6 @@
(cur_ace->acep->expr_type == ACL_EXPR_TYPE_AUTH))
PListDestroy(cur_ace->global_auth);
next_ace = cur_ace->next;
- acep = cur_ace->acep; /* The ACE structure itself */
PERM_FREE(cur_ace);
cur_ace = next_ace;
}
Index: symbols.cpp
===================================================================
RCS file: /cvs/dirsec/ldapserver/lib/libaccess/symbols.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- symbols.cpp 10 Nov 2006 23:46:02 -0000 1.5
+++ symbols.cpp 18 Oct 2007 00:08:36 -0000 1.6
@@ -181,7 +181,6 @@
int symTableAddSym(void * table, Symbol_t * newsym, void * symref)
{
SymTable_t * st = (SymTable_t *)table;
- PLHashEntry * he;
PLHashEntry **hep;
PLHashNumber keyhash;
int rv = 0;
@@ -196,7 +195,7 @@
if (*hep == 0) {
/* Expand the hash table if necessary and allocate an entry */
- he = PL_HashTableRawAdd(st->stb_ht,
+ PL_HashTableRawAdd(st->stb_ht,
hep, keyhash, (void *)newsym, symref);
}
else {
More information about the Fedora-directory-commits
mailing list