[CRIU] [PATCH 1/2] crtools: add init_opts
Pavel Emelyanov
xemul at parallels.com
Mon Oct 28 03:55:53 PDT 2013
On 10/21/2013 11:30 PM, Cyrill Gorcunov wrote:
> On Mon, Oct 21, 2013 at 11:23:55PM +0400, Ruslan Kuprieiev wrote:
>> 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.
>
> If there will be no other comments on the series from criu-dev@
> camp, I believe you could simply provide one on top as cleanup patch.
> .
>
So?
More information about the CRIU
mailing list