diff options
author | Toomas Soome <tsoome@me.com> | 2017-08-08 13:03:05 +0300 |
---|---|---|
committer | Gordon Ross <gwr@nexenta.com> | 2017-12-03 15:49:24 -0500 |
commit | 6cfe4330282a218c2e13a305e7fecc048518aad1 (patch) | |
tree | eb6c3c146f6bf58f0b12ea15440334f997d9509c /usr/src/lib/libcmd/common | |
parent | f362c74cdda7b4819bb5d3360149ac0fae9ea013 (diff) | |
download | illumos-joyent-6cfe4330282a218c2e13a305e7fecc048518aad1.tar.gz |
8833 libcmd: variable 'ep' set but not used
Reviewed by: Yuri Pankov <yuripv@gmx.com>
Reviewed by: Gary Mills <gary_mills@fastmail.fm>
Approved by: Gordon Ross <gwr@nexenta.com>
Diffstat (limited to 'usr/src/lib/libcmd/common')
-rw-r--r-- | usr/src/lib/libcmd/common/cut.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/usr/src/lib/libcmd/common/cut.c b/usr/src/lib/libcmd/common/cut.c index abafdc5070..6b6cabe60e 100644 --- a/usr/src/lib/libcmd/common/cut.c +++ b/usr/src/lib/libcmd/common/cut.c @@ -260,7 +260,6 @@ cutcols(Cut_t* cut, Sfio_t* fdin, Sfio_t* fdout) register char* bp; register int skip; /* non-zero for don't copy */ int must; - char* ep; const char* xx; for (;;) @@ -272,7 +271,6 @@ cutcols(Cut_t* cut, Sfio_t* fdin, Sfio_t* fdout) if (!bp && !(bp = sfgetr(fdin, 0, SF_LASTR))) break; len = sfvalue(fdin); - ep = bp + len; xx = 0; if (!(ncol = skip = *(lp = cut->list))) ncol = *++lp; |