"Dr. David Alan Gilbert (git)" <dgilb...@redhat.com> wrote:
> From: "Dr. David Alan Gilbert" <dgilb...@redhat.com>
>
> 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 <dgilb...@redhat.com>

Reviewed-by: Juan Quintela <quint...@redhat.com>

Reply via email to