From: Jeremy Allison Date: Thu, 16 Mar 2017 16:17:51 +0000 (-0700) Subject: Changes to make the Solaris C compiler happy. X-Git-Tag: tdb-1.3.13~452 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2780a56d0bb7848e017314a033ef22ee944d8b05;p=thirdparty%2Fsamba.git Changes to make the Solaris C compiler happy. Fix Bug 12693 dbwrap_watch.c syntax error before or at: } BUG: https://bugzilla.samba.org/show_bug.cgi?id=12693 Signed-off-by: Tom schulz Reviewed-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/lib/dbwrap/dbwrap_watch.c b/source3/lib/dbwrap/dbwrap_watch.c index 842ab861455..efff4785641 100644 --- a/source3/lib/dbwrap/dbwrap_watch.c +++ b/source3/lib/dbwrap/dbwrap_watch.c @@ -279,7 +279,7 @@ static struct db_record *dbwrap_watched_fetch_locked( num_watchers = dbwrap_watched_parse(subrec_value, NULL, 0, NULL, NULL); if (num_watchers == -1) { /* Fresh or invalid record */ - rec->value = (TDB_DATA) {}; + rec->value = (TDB_DATA) { 0 }; return rec; }