Browse Source

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
William Brown 9 years ago
parent
commit
c984499b94
1 changed files with 0 additions and 1 deletions
  1. 0 1
      ldap/servers/plugins/pwdstorage/clear_pwd.c

+ 0 - 1
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 ) {