From fa3d47596d26472868934b96549806942e16d922 Mon Sep 17 00:00:00 2001 From: bakkeby Date: Tue, 24 Mar 2020 13:49:01 +0100 Subject: [PATCH] minor code-style, initialize var at the top of function (2d4ee4) --- st.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/st.c b/st.c index 7b3bd98..f19082d 100644 --- a/st.c +++ b/st.c @@ -1955,7 +1955,7 @@ csireset(void) void strhandle(void) { - char *p = NULL; + char *p = NULL, *dec; int j, narg, par; term.esc &= ~(ESC_STR_END|ESC_STR); @@ -1973,8 +1973,6 @@ strhandle(void) return; case 52: if (narg > 2) { - char *dec; - dec = base64dec(strescseq.args[2]); if (dec) { xsetsel(dec);