ldap/servers/plugins/pwdstorage/clear_pwd.c | 1 -
1 file changed, 1 deletion(-)
New commits:
commit c984499b9423c8f93bcb3e446e9b7b957d405ebf
Author: William Brown <firstyear(a)redhat.com>
Date: Fri Nov 4 16:12:26 2016 +1000
Ticket bz1358565 - Fix compiler warning about unused variable
Bug Description: Unused variable len (opps!)
Fix Description: Remove the unused variable.
https://bugzilla.redhat.com/show_bug.cgi?id=1358565
Author: wibrown
Review by: One line fix
diff --git a/ldap/servers/plugins/pwdstorage/clear_pwd.c
b/ldap/servers/plugins/pwdstorage/clear_pwd.c
index 2afe16e..b9b362d 100644
--- a/ldap/servers/plugins/pwdstorage/clear_pwd.c
+++ b/ldap/servers/plugins/pwdstorage/clear_pwd.c
@@ -26,7 +26,6 @@ int
clear_pw_cmp( const char *userpwd, const char *dbpwd )
{
int result = 0;
- int len = 0;
int len_user = strlen(userpwd);
int len_dbp = strlen(dbpwd);
if ( len_user != len_dbp ) {