diff options
Diffstat (limited to 'source3/lib/netapi/tests/netlocalgroup.c')
-rw-r--r-- | source3/lib/netapi/tests/netlocalgroup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/netapi/tests/netlocalgroup.c b/source3/lib/netapi/tests/netlocalgroup.c index 0d82059356..76c59c814b 100644 --- a/source3/lib/netapi/tests/netlocalgroup.c +++ b/source3/lib/netapi/tests/netlocalgroup.c @@ -36,12 +36,12 @@ static NET_API_STATUS test_netlocalgroupenum(const char *hostname, uint32_t total_entries = 0; uint32_t resume_handle = 0; int found_group = 0; - const char *current_name; + const char *current_name = NULL; uint8_t *buffer = NULL; int i; - struct LOCALGROUP_INFO_0 *info0; - struct LOCALGROUP_INFO_1 *info1; + struct LOCALGROUP_INFO_0 *info0 = NULL; + struct LOCALGROUP_INFO_1 *info1 = NULL; printf("testing NetLocalGroupEnum level %d\n", level); |