tests/util: Remove unused variable warning in fill_tiles_rgb16fp()
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 24 Feb 2020 02:33:32 +0000 (11:33 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Tue, 8 Dec 2020 08:41:51 +0000 (17:41 +0900)
There is an unused variable causing build warning in
fill_tiles_rgb16fp(). Remove the unused variable.

Change-Id: Ib25b08b954cf0e086a42a79319d48662f426ee54
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
tests/util/pattern.c

index bf1797d..5043523 100644 (file)
@@ -985,7 +985,6 @@ static void fill_tiles_rgb16fp(const struct util_format_info *info, void *mem,
                               unsigned int stride)
 {
        const struct util_rgb_info *rgb = &info->rgb;
-       void *mem_base = mem;
        unsigned int x, y;
 
        /* TODO: Give this actual fp16 precision */