Build failure on HP-UX 11.11 build farm due to return from void function

McCall, Don (GSE-WTEC-Alpharetta) don.mccall at hp.com
Wed Mar 21 11:38:36 GMT 2007


Hi,
Getting a build failure on latest cvs SAMBA_3_0 cc build due to return
value from a 'void' function:

/***********************************************************************
*******
 Free an encryption-allocated buffer.
************************************************************************
******/

void srv_free_enc_buffer(char *buf)
{
        if (srv_trans_enc_ctx) {
                return common_free_enc_buffer(srv_trans_enc_ctx->es,
buf);
        }
}

Couldn't this be 

void srv_free_enc_buffer(char *buf)
{
        if (srv_trans_enc_ctx) {
                common_free_enc_buffer(srv_trans_enc_ctx->es, buf);
        }
	return;
}


More information about the samba-technical mailing list