|
From: | Juan Quintela |
Subject: | Re: [Qemu-devel] [PATCH v9 12/56] ram_load: Factor out host_from_stream_offset call and check |
Date: | Mon, 09 Nov 2015 10:29:21 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
"Dr. David Alan Gilbert (git)" <address@hidden> wrote: > From: "Dr. David Alan Gilbert" <address@hidden> > > The main RAM load loop has a call to host_from_stream_offset for > each page type that actually loads data with the same test; > factor it out before the switch. > > The host = NULL is to silence a bogus gcc warning of > an unitialised in the RAM_SAVE_COMPRESS_PAGE case, it > doesn't seem to realise that host is always initialised by the if at > the top in the cases the switch takes. > > Signed-off-by: Dr. David Alan Gilbert <address@hidden> Reviewed-by: Juan Quintela <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |