Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
123001c8
Commit
123001c8
authored
Nov 09, 2020
by
Ondřej Kuzník
Browse files
ITS#9386 Address compiler warnings
parent
6b0fc9e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/overlays/ppolicy.c
View file @
123001c8
...
...
@@ -865,7 +865,7 @@ ppolicy_get( Operation *op, Entry *e, PassPolicy *pp )
pp_info
*
pi
=
on
->
on_bi
.
bi_private
;
Attribute
*
a
;
BerVarray
vals
;
int
rc
;
int
rc
=
LDAP_SUCCESS
;
Entry
*
pe
=
NULL
;
#if 0
const char *text;
...
...
@@ -1998,7 +1998,6 @@ ppolicy_account_usability_entry_cb( Operation *op, SlapReply *rs )
lockoutEnd
=
then
+
pp
.
pwdLockoutDuration
;
}
a
=
attr_find
(
e
->
e_attrs
,
ad_pwdAccountLockedTime
);
if
(
(
a
=
attr_find
(
e
->
e_attrs
,
ad_pwdAccountTmpLockoutEnd
))
!=
NULL
)
{
then
=
parse_time
(
a
->
a_vals
[
0
].
bv_val
);
if
(
lockoutEnd
!=
-
1
&&
then
>
lockoutEnd
)
...
...
@@ -2272,7 +2271,7 @@ ppolicy_modify( Operation *op, SlapReply *rs )
{
slap_overinst
*
on
=
(
slap_overinst
*
)
op
->
o_bd
->
bd_info
;
pp_info
*
pi
=
on
->
on_bi
.
bi_private
;
int
i
,
rc
,
mod_pw_only
,
pwmod
,
pwmop
=
-
1
,
deladd
,
int
i
,
rc
,
mod_pw_only
,
pwmod
=
0
,
pwmop
=
-
1
,
deladd
,
hsize
=
0
,
hskip
;
PassPolicy
pp
;
Modifications
*
mods
=
NULL
,
*
modtail
=
NULL
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment