entrance: warn--

This commit is contained in:
Michael Bouchaud 2013-09-04 21:18:45 +02:00
parent 13ea3f533a
commit d9b1f4e04b
2 changed files with 1 additions and 2 deletions

View File

@ -222,7 +222,6 @@ _entrance_action_grub2_get(void)
char *action;
char *local;
char *tmp;
char *buf;
r2 += 10;
size -= 10;

View File

@ -125,7 +125,7 @@ entrance_history_push(const char *login, const char *session)
}
if (!el)
{
if (el = calloc(1, sizeof(Entrance_Login)))
if ((el = calloc(1, sizeof(Entrance_Login))))
{
el->login = eina_stringshare_add(login);
el->session = eina_stringshare_add(session);