Skip to content

Commit

Permalink
minor code-style, initialize var at the top of function
Browse files Browse the repository at this point in the history
  • Loading branch information
hiltjo committed Mar 15, 2019
1 parent 927621f commit 9acec46
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions st.c
Original file line number Diff line number Diff line change
Expand Up @@ -1830,7 +1830,7 @@ csireset(void)
void
strhandle(void)
{
char *p = NULL;
char *p = NULL, *dec;
int j, narg, par;

term.esc &= ~(ESC_STR_END|ESC_STR);
Expand All @@ -1848,8 +1848,6 @@ strhandle(void)
return;
case 52:
if (narg > 2) {
char *dec;

dec = base64dec(strescseq.args[2]);
if (dec) {
xsetsel(dec);
Expand Down

0 comments on commit 9acec46

Please sign in to comment.