This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project wmaker-crm.git.

The branch, next has been updated
       via  75654cf43cd89e19c46a5f7965d0e3fea717af1a (commit)
      from  5fcf15f0d5705cda9117da674b55d2bbbc4b3f62 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://repo.or.cz/w/wmaker-crm.git/commit/75654cf43cd89e19c46a5f7965d0e3fea717af1a

commit 75654cf43cd89e19c46a5f7965d0e3fea717af1a
Author: Gabriel VLASIU <[email protected]>
Date:   Sat Jul 6 13:06:26 2013 +0300

    Proper fix for array == NULL in WMPopFromArray() function.

diff --git a/WINGs/array.c b/WINGs/array.c
index 390df02..0e08342 100644
--- a/WINGs/array.c
+++ b/WINGs/array.c
@@ -222,7 +222,7 @@ void *WMGetFromArray(WMArray * array, int index)
 
 void *WMPopFromArray(WMArray * array)
 {
-       if (array->itemCount <= 0 || array == NULL)
+       if (array == NULL || array->itemCount <= 0)
                return NULL;
 
        array->itemCount--;

-----------------------------------------------------------------------

Summary of changes:
 WINGs/array.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


repo.or.cz automatic notification. Contact project admin [email protected]
if you want to unsubscribe, or site admin [email protected] if you receive
no reply.
-- 
wmaker-crm.git ("The Window Maker window manager")


-- 
To unsubscribe, send mail to [email protected].

Reply via email to