[SCM] Samba Shared Repository - branch master updated

Christof Schmitt cs at samba.org
Wed Mar 11 19:50:02 MDT 2015


The branch, master has been updated
       via  ddcf361 brlock: Use 0 instead of empty initializer list
      from  9643a4b lib/util: Include DEBUG macro in internal header files before samba_util.h

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit ddcf3614ce14e7cb03195e36f872043542bc4ec1
Author: Christof Schmitt <cs at samba.org>
Date:   Wed Mar 11 15:54:55 2015 -0700

    brlock: Use 0 instead of empty initializer list
    
    C does not allow empty initializer lists. Although gcc accepts that, the
    SunOS compiler fails in this case with an error.
    
    BUG: https://bugzilla.samba.org/show_bug.cgi?id=11153
    
    Signed-off-by: Christof Schmitt <cs at samba.org>
    Reviewed-by: Michael Adam <obnox at samba.org>
    
    Autobuild-User(master): Christof Schmitt <cs at samba.org>
    Autobuild-Date(master): Thu Mar 12 02:49:36 CET 2015 on sn-devel-104

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

Summary of changes:
 source3/locking/brlock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c
index 7fd3783..46401a0 100644
--- a/source3/locking/brlock.c
+++ b/source3/locking/brlock.c
@@ -2014,7 +2014,7 @@ static void brl_get_locks_readonly_parser(TDB_DATA key, TDB_DATA data,
 		*state->br_lock = NULL;
 		return;
 	}
-	*br_lck = (struct byte_range_lock) {};
+	*br_lck = (struct byte_range_lock) { 0 };
 	if (!brl_parse_data(br_lck, data)) {
 		*state->br_lock = NULL;
 		return;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list