yoz pushed a commit to branch master.

commit d9b1f4e04b3be881d9676bc2ff46fa957382d73c
Author: Michael Bouchaud <[email protected]>
Date:   Wed Sep 4 21:18:45 2013 +0200

    entrance: warn--
---
 src/daemon/entrance_action.c  | 1 -
 src/daemon/entrance_history.c | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/daemon/entrance_action.c b/src/daemon/entrance_action.c
index dac945b..934a303 100644
--- a/src/daemon/entrance_action.c
+++ b/src/daemon/entrance_action.c
@@ -222,7 +222,6 @@ _entrance_action_grub2_get(void)
              char *action;
              char *local;
              char *tmp;
-             char *buf;
 
              r2 += 10;
              size -= 10;
diff --git a/src/daemon/entrance_history.c b/src/daemon/entrance_history.c
index 19aaf51..fbfc13c 100644
--- a/src/daemon/entrance_history.c
+++ b/src/daemon/entrance_history.c
@@ -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);

-- 

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk

Reply via email to