]> git.neil.brown.name Git - edlib.git/commitdiff
Remove pointp from render_format_attach
authorNeilBrown <neil@brown.name>
Wed, 25 Nov 2015 09:23:47 +0000 (20:23 +1100)
committerNeilBrown <neil@brown.name>
Wed, 25 Nov 2015 09:23:47 +0000 (20:23 +1100)
Not used.

Signed-off-by: NeilBrown <neil@brown.name>
render-format.c

index 9351197b4b7dea17c1b3351b6db407a26a7e4f2e..ed14341d9b1fe1855e9ec4abb6858d4dc700d4f2 100644 (file)
@@ -173,7 +173,6 @@ DEF_CMD(format_clone)
 {
        struct pane *c;
 
-       ci->pointp = pane_point(ci->focus);
        render_format_attach_func(ci);
        c = pane_child(ci->home);
        if (c)
@@ -264,12 +263,6 @@ REDEF_CMD(render_format_attach)
        struct rf_data *rf = malloc(sizeof(*rf));
        struct pane *p;
        struct pane *parent = ci->focus;
-       struct point **ptp = ci->pointp;
-
-       if (!ptp)
-               ptp = pane_point(parent);
-       if (!ptp)
-               return -1;
 
        rf->home_field = -1;
        p = pane_register(parent, 0, &render_format_handle.c, rf, NULL);