[CRIU] [PATCH 1/2] crtools: add init_opts

Ruslan Kuprieiev kupruser at gmail.com
Mon Oct 21 12:23:55 PDT 2013


On 21.10.2013 20:27, Cyrill Gorcunov wrote:
> On Mon, Oct 21, 2013 at 02:08:50PM +0400, Ruslan Kuprieiev wrote:
>>   
>> +void init_opts(void)
>> +{
>> +	(void)memset(&opts, 0, sizeof(opts));
>> +
> Hmm, why (void) here?
>
> 	Cyrill

Oh, I thought compiler will swear on unused return value.
I was wrong. Will resend.


More information about the CRIU mailing list