Fixed uninitialized variable

SVN revision: 2480
This commit is contained in:
Stefan Ritt 2013-03-07 13:09:23 +00:00
parent 9c6a64ab13
commit 6e464179ef

View File

@ -237,7 +237,7 @@ int auth_verify_password(LOGBOOK * lbs, const char *user, const char *password,
int auth_change_password(LOGBOOK * lbs, const char *user, const char *old_pwd, const char *new_pwd, int auth_change_password(LOGBOOK * lbs, const char *user, const char *old_pwd, const char *new_pwd,
char *error_str, int error_size) char *error_str, int error_size)
{ {
int status; int status = 0;
char str[256]; char str[256];
error_str[0] = 0; error_str[0] = 0;