Don't return a value for a void function.
authorTim Potter <tpot@samba.org>
Fri, 23 Jun 2000 07:02:59 +0000 (07:02 +0000)
committerTim Potter <tpot@samba.org>
Fri, 23 Jun 2000 07:02:59 +0000 (07:02 +0000)
testsuite/smbd/sec_ctx_utils.c

index 4d0588196dd48bdc9e8d72e19a31ae6ed6c2395c..fbda6352c46b5cb494ca3a52e4fe0b725ca7bd6d 100644 (file)
@@ -36,7 +36,7 @@ void get_random_grouplist(int *ngroups, gid_t **groups)
 
        if (!groups) {
                printf("FAIL: malloc random grouplist\n");
-               return 1;
+               return;
        }
 
        for (i = 0; i < *ngroups; i++) {