Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christopher Ng
OpenLDAP
Commits
202b309d
Commit
202b309d
authored
19 years ago
by
Hallvard Furuseth
Browse files
Options
Downloads
Patches
Plain Diff
Silence unused variable warnings with #ifdef LDAP_DYNAMIC_OBJECTS
parent
f5dd0177
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
servers/slapd/schema_prep.c
+8
-0
8 additions, 0 deletions
servers/slapd/schema_prep.c
with
8 additions
and
0 deletions
servers/slapd/schema_prep.c
+
8
−
0
View file @
202b309d
...
...
@@ -321,7 +321,9 @@ static ObjectClassSchemaCheckFN rootDseObjectClass;
static
ObjectClassSchemaCheckFN
aliasObjectClass
;
static
ObjectClassSchemaCheckFN
referralObjectClass
;
static
ObjectClassSchemaCheckFN
subentryObjectClass
;
#ifdef LDAP_DYNAMIC_OBJECTS
static
ObjectClassSchemaCheckFN
dynamicObjectClass
;
#endif
static
struct
slap_schema_oc_map
{
char
*
ssom_name
;
...
...
@@ -417,7 +419,9 @@ static AttributeTypeSchemaCheckFN aliasAttribute;
static
AttributeTypeSchemaCheckFN
referralAttribute
;
static
AttributeTypeSchemaCheckFN
subentryAttribute
;
static
AttributeTypeSchemaCheckFN
administrativeRoleAttribute
;
#ifdef LDAP_DYNAMIC_OBJECTS
static
AttributeTypeSchemaCheckFN
dynamicAttribute
;
#endif
static
struct
slap_schema_ad_map
{
char
*
ssam_name
;
...
...
@@ -1401,6 +1405,7 @@ static int subentryObjectClass (
return
LDAP_SUCCESS
;
}
#ifdef LDAP_DYNAMIC_OBJECTS
static
int
dynamicObjectClass
(
Backend
*
be
,
Entry
*
e
,
...
...
@@ -1419,6 +1424,7 @@ static int dynamicObjectClass (
return
LDAP_SUCCESS
;
}
#endif
/* LDAP_DYNAMIC_OBJECTS */
static
int
rootDseAttribute
(
Backend
*
be
,
...
...
@@ -1541,6 +1547,7 @@ static int administrativeRoleAttribute (
return
LDAP_OBJECT_CLASS_VIOLATION
;
}
#ifdef LDAP_DYNAMIC_OBJECTS
static
int
dynamicAttribute
(
Backend
*
be
,
Entry
*
e
,
...
...
@@ -1566,3 +1573,4 @@ static int dynamicAttribute (
return
LDAP_SUCCESS
;
}
#endif
/* LDAP_DYNAMIC_OBJECTS */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment