OSDN Git Service

hw/display/artist: Remove pointless initialization
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 14 Feb 2020 00:12:59 +0000 (01:12 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 18 Feb 2020 19:21:47 +0000 (11:21 -0800)
commit6c69f9c48e29376f16965f6e8ea9e1d01f368950
treeca08fc5fc00447754d1e965f0d932bc4a714d8cf
parent5646bca36efe97a072550b783f62c7a164fe6ceb
hw/display/artist: Remove pointless initialization

We are initializating incy inconditionally:

    if (y1 <= y2) {
        incy = 1;
    } else {
        incy = -1;
    }

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Sven Schnelle <svens@stackframe.org>
Message-Id: <20200214001303.12873-3-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
hw/display/artist.c