Re: [Spice-devel] [PATCH] drm/qxl: remove variable count

2023-04-19 Thread Nick Desaulniers
On Sat, Apr 8, 2023 at 9:50 AM Tom Rix wrote: > > clang with W=1 reports > drivers/gpu/drm/qxl/qxl_cmd.c:424:6: error: variable > 'count' set but not used [-Werror,-Wunused-but-set-variable] > int count = 0; > ^ > This variable is not used so remove it. Thanks for the patch!

[Spice-devel] [PATCH] drm/qxl: remove variable count

2023-04-09 Thread Tom Rix
clang with W=1 reports drivers/gpu/drm/qxl/qxl_cmd.c:424:6: error: variable 'count' set but not used [-Werror,-Wunused-but-set-variable] int count = 0; ^ This variable is not used so remove it. Signed-off-by: Tom Rix --- drivers/gpu/drm/qxl/qxl_cmd.c | 2 -- 1 file changed,