From: Ray Strode Date: Wed, 9 Feb 2011 19:58:33 +0000 (-0500) Subject: throbgress: clean up warnings X-Git-Tag: 0.8.4~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=711ef9a22c77e5e97c02cca0a77e9f73ddd96231;p=thirdparty%2Fplymouth.git throbgress: clean up warnings --- diff --git a/src/plugins/splash/throbgress/plugin.c b/src/plugins/splash/throbgress/plugin.c index edda9c37..895541cb 100644 --- a/src/plugins/splash/throbgress/plugin.c +++ b/src/plugins/splash/throbgress/plugin.c @@ -350,11 +350,7 @@ view_show_prompt (view_t *view, if (prompt != NULL) { - int label_width, label_height; - ply_label_set_text (view->label, prompt); - label_width = ply_label_get_width (view->label); - label_height = ply_label_get_height (view->label); x = view->box_area.x + view->lock_area.width / 2; y = view->box_area.y + view->box_area.height; @@ -429,11 +425,8 @@ draw_background (view_t *view, int width, int height) { - ply_boot_splash_plugin_t *plugin; ply_rectangle_t area; - plugin = view->plugin; - area.x = x; area.y = y; area.width = width; @@ -553,13 +546,6 @@ on_draw (view_t *view, int height) { ply_boot_splash_plugin_t *plugin; - ply_rectangle_t area; - - area.x = x; - area.y = y; - area.width = width; - area.height = height; - plugin = view->plugin; draw_background (view, pixel_buffer, x, y, width, height);