mirror of
https://github.com/samba-team/samba.git
synced 2025-10-28 03:33:13 +03:00
Fix the O3 developer build
Different gcc versions complain at different places Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Tue Mar 3 13:14:53 CET 2015 on sn-devel-104
This commit is contained in:
@@ -240,7 +240,7 @@ WERROR NetFileEnum_r(struct libnetapi_ctx *ctx,
|
||||
}
|
||||
|
||||
for (i=0; i < info_ctr.ctr.ctr2->count; i++) {
|
||||
union srvsvc_NetFileInfo _i;
|
||||
union srvsvc_NetFileInfo _i = {0};
|
||||
switch (r->in.level) {
|
||||
case 2:
|
||||
_i.info2 = &info_ctr.ctr.ctr2->array[i];
|
||||
|
||||
@@ -386,7 +386,7 @@ WERROR NetShareEnum_r(struct libnetapi_ctx *ctx,
|
||||
}
|
||||
|
||||
for (i=0; i < info_ctr.ctr.ctr1->count; i++) {
|
||||
union srvsvc_NetShareInfo _i;
|
||||
union srvsvc_NetShareInfo _i = {0};
|
||||
switch (r->in.level) {
|
||||
case 0:
|
||||
_i.info0 = &info_ctr.ctr.ctr0->array[i];
|
||||
|
||||
Reference in New Issue
Block a user