Re: [Spice-devel] [spice-common 3/8] lz: Don't try to print uninitialized variable

2019-03-28 Thread Frediano Ziglio
> > encoder->type is only going to be set by lz_set_sizes() after the > error() call. We can use 'type' directly which is what encoder->type is > going to be set to. > > Signed-off-by: Christophe Fergeau Acked-by: Frediano Ziglio > --- > common/lz.c | 2 +- > 1 file changed, 1 insertion(+),

[Spice-devel] [spice-common 3/8] lz: Don't try to print uninitialized variable

2019-03-28 Thread Christophe Fergeau
encoder->type is only going to be set by lz_set_sizes() after the error() call. We can use 'type' directly which is what encoder->type is going to be set to. Signed-off-by: Christophe Fergeau --- common/lz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lz.c