From: Hans de Goede Date: Sat, 6 Mar 2021 09:54:31 +0000 (+0100) Subject: two-step: Fix unused variable compiler warning X-Git-Tag: 22.02.122~21^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a3899c0abbdb77b9a950bbc3181aeecbc95b7e8;p=thirdparty%2Fplymouth.git two-step: Fix unused variable compiler warning Fix the following: plugin.c: In function ‘show_splash_screen’: plugin.c:1645:13: warning: unused variable ‘i’ [-Wunused-variable] 1645 | int i; | Compiler warning which I introduced in: https://gitlab.freedesktop.org/plymouth/plymouth/-/merge_requests/132/ Signed-off-by: Hans de Goede --- diff --git a/src/plugins/splash/two-step/plugin.c b/src/plugins/splash/two-step/plugin.c index ed83d8bc..9c8bc439 100644 --- a/src/plugins/splash/two-step/plugin.c +++ b/src/plugins/splash/two-step/plugin.c @@ -1642,8 +1642,6 @@ show_splash_screen (ply_boot_splash_plugin_t *plugin, ply_buffer_t *boot_buffer, ply_boot_splash_mode_t mode) { - int i; - assert (plugin != NULL); plugin->loop = loop;