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@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Christof Schmitt <cs@samba.org>
Autobuild-Date(master): Thu Mar 12 02:49:36 CET 2015 on sn-devel-104
*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;