* grub-core/normal/auth.c (grub_auth_check_authentication):
Set-but-not-used variable removed.
This commit is contained in:
parent
d82df574cd
commit
800e6a9be5
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-10-17 Szymon Janc <szymon@janc.net.pl>
|
||||
|
||||
* grub-core/normal/auth.c (grub_auth_check_authentication):
|
||||
Set-but-not-used variable removed.
|
||||
|
||||
2010-10-17 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* docs/grub.texi (GNU/Linux): Document APM unavailability with
|
||||
|
|
|
@ -201,7 +201,6 @@ grub_auth_check_authentication (const char *userlist)
|
|||
{
|
||||
char login[1024];
|
||||
struct grub_auth_user *cur = NULL;
|
||||
grub_err_t err;
|
||||
static unsigned long punishment_delay = 1;
|
||||
char entered[GRUB_AUTH_MAX_PASSLEN];
|
||||
struct grub_auth_user *user;
|
||||
|
@ -233,7 +232,7 @@ grub_auth_check_authentication (const char *userlist)
|
|||
if (!cur || ! cur->callback)
|
||||
goto access_denied;
|
||||
|
||||
err = cur->callback (login, entered, cur->arg);
|
||||
cur->callback (login, entered, cur->arg);
|
||||
if (is_authenticated (userlist))
|
||||
{
|
||||
punishment_delay = 1;
|
||||
|
|
Loading…
Reference in a new issue