[Xfce4-commits] <midori:master> Remove unused kind_name variable in addons_uri_install

Christian Dywan noreply at xfce.org
Wed Nov 10 00:36:01 CET 2010


Updating branch refs/heads/master
         to b26df3af224ed21b9a7961da022ed4f0bf9f5b83 (commit)
       from cfb086e50351a180f63f8c44d0635d462e6744dd (commit)

commit b26df3af224ed21b9a7961da022ed4f0bf9f5b83
Author: Paweł Forysiuk <tuxator at o2.pl>
Date:   Wed Nov 10 00:34:31 2010 +0100

    Remove unused kind_name variable in addons_uri_install

 extensions/addons.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/extensions/addons.c b/extensions/addons.c
index 5284653..c8fc017 100644
--- a/extensions/addons.c
+++ b/extensions/addons.c
@@ -213,11 +213,9 @@ addons_uri_install (MidoriBrowser* browser,
                     MidoriView*    view,
                     AddonsKind     kind)
 {
-    const gchar* kind_name;
     const gchar* message;
     const gchar* button_text;
 
-    kind_name = kind == ADDONS_USER_SCRIPTS ? "user script" : "user style";
     if (kind == ADDONS_USER_SCRIPTS)
     {
         /* i18n: An infobar shows up when viewing a script on userscripts.org */



More information about the Xfce4-commits mailing list