e: tiling: fix use of unused var
authorBoris Faure <billiob@gmail.com>
Sat, 26 May 2012 22:13:42 +0000 (22:13 +0000)
committerBoris Faure <billiob@gmail.com>
Sat, 26 May 2012 22:13:42 +0000 (22:13 +0000)
SVN revision: 71444

src/modules/tiling/e_mod_tiling.c

index e96004a..a8eb6c8 100644 (file)
@@ -3269,8 +3269,6 @@ static void
 _pre_border_assign_hook(void *data __UNUSED__,
                         E_Border *bd)
 {
-    Border_Extra *extra;
-
     if (tiling_g.config->show_titles)
         return;
 
@@ -3295,7 +3293,8 @@ _pre_border_assign_hook(void *data __UNUSED__,
          return;
     }
 
-    extra = _get_or_create_border_extra(bd);
+    /* Fill initial values if not already done */
+    _get_or_create_border_extra(bd);
 
     if ((bd->bordername && strcmp(bd->bordername, "pixel"))
     ||  !bd->bordername)