1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-30 19:42:05 +03:00

use a separate ZERO_ARRAY() macro instead of ZERO_STRUCT() for

arrays. This prevents (harmless) warnings from some compilers
This commit is contained in:
Andrew Tridgell
-
parent afe98165a2
commit c2da46d1d0
3 changed files with 3 additions and 2 deletions

View File

@ -392,7 +392,7 @@ static void api_lsa_lookup_names( int uid, prs_struct *data,
ZERO_STRUCT(sid_S_1_1);
ZERO_STRUCT(sid_S_1_3);
ZERO_STRUCT(sid_S_1_5);
ZERO_STRUCT(dom_rids);
ZERO_ARRAY(dom_rids);
/* grab the info class and policy handle */
lsa_io_q_lookup_rids("", &q_l, data, 0);