minor code-style, initialize var at the top of function (2d4ee4)

This commit is contained in:
bakkeby 2020-03-24 13:49:01 +01:00
parent 9e18ce3cb1
commit fa3d47596d

4
st.c
View File

@ -1955,7 +1955,7 @@ csireset(void)
void void
strhandle(void) strhandle(void)
{ {
char *p = NULL; char *p = NULL, *dec;
int j, narg, par; int j, narg, par;
term.esc &= ~(ESC_STR_END|ESC_STR); term.esc &= ~(ESC_STR_END|ESC_STR);
@ -1973,8 +1973,6 @@ strhandle(void)
return; return;
case 52: case 52:
if (narg > 2) { if (narg > 2) {
char *dec;
dec = base64dec(strescseq.args[2]); dec = base64dec(strescseq.args[2]);
if (dec) { if (dec) {
xsetsel(dec); xsetsel(dec);