summaryrefslogtreecommitdiffstats
path: root/format.c
diff options
context:
space:
mode:
Diffstat (limited to 'format.c')
-rw-r--r--format.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/format.c b/format.c
index 4c93c766..af2c128b 100644
--- a/format.c
+++ b/format.c
@@ -397,10 +397,8 @@ format_window_pane(struct format_tree *ft, struct window_pane *wp)
struct grid *gd = wp->base.grid;
struct grid_line *gl;
unsigned long long size;
- u_int i;
- u_int idx;
- const char *cwd;
- const char *cmd;
+ u_int i, idx;
+ const char *cwd, *cmd;
size = 0;
for (i = 0; i < gd->hsize; i++) {