[CRIU] [PATCH 1/2] crtools: add init_opts
Cyrill Gorcunov
gorcunov at gmail.com
Mon Oct 21 12:30:33 PDT 2013
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.
More information about the CRIU
mailing list