diff options
author | ozan yigit <ozan.yigit@gmail.com> | 2022-09-12 10:48:56 -0400 |
---|---|---|
committer | ozan yigit <ozan.yigit@gmail.com> | 2022-09-12 10:48:56 -0400 |
commit | 60447afabcbb99c7060c49364902d71735bbc16b (patch) | |
tree | 5716f6c7730df2f88fe1d424bd18bb730fce8ae7 | |
parent | 994f5f0c289bac7791be212a1e5aae9ff4c6cc06 (diff) | |
download | one-true-awk-60447afabcbb99c7060c49364902d71735bbc16b.tar.gz |
remove unnecessary variable in qstring
-rw-r--r-- | tran.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -563,7 +563,6 @@ Cell *catstr(Cell *a, Cell *b) /* concatenate a and b */ char *qstring(const char *is, int delim) /* collect string up to next delim */ { - const char *os = is; int c, n; const uschar *s = (const uschar *) is; uschar *buf, *bp; @@ -572,7 +571,7 @@ char *qstring(const char *is, int delim) /* collect string up to next delim */ FATAL( "out of space in qstring(%s)", s); for (bp = buf; (c = *s) != delim; s++) { if (c == '\n') - SYNTAX( "newline in string %.20s...", os ); + SYNTAX( "newline in string %.20s...", is ); else if (c != '\\') *bp++ = c; else { /* \something */ |