diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2019-03-15 14:42:50 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2019-03-15 14:42:50 +0100 |
commit | 9acec468fbeaa9f90578352b610431ca9b2d4ee4 (patch) | |
tree | 7f293dd4ff7428eac4b1b2308bdf0e79b44f801e | |
parent | 927621f6da015f51710c03279b00c6cc38057e32 (diff) | |
download | st-9acec468fbeaa9f90578352b610431ca9b2d4ee4.tar.gz st-9acec468fbeaa9f90578352b610431ca9b2d4ee4.tar.bz2 st-9acec468fbeaa9f90578352b610431ca9b2d4ee4.zip |
minor code-style, initialize var at the top of function
-rw-r--r-- | st.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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); @@ -1848,8 +1848,6 @@ strhandle(void) return; case 52: if (narg > 2) { - char *dec; - dec = base64dec(strescseq.args[2]); if (dec) { xsetsel(dec); |