diff options
author | Marcel Raad <raad@teamviewer.com> | 2017-04-25 08:36:13 +0200 |
---|---|---|
committer | Marcel Raad <raad@teamviewer.com> | 2017-04-26 10:01:53 +0200 |
commit | b85142164228abe15d6ca20a244ffb849c700e6c (patch) | |
tree | d502a7a9fb8d72fdbc09630c970ef7dc9d2cb852 /lib/telnet.c | |
parent | 55c3c02e59d1daf31ec2097f93b8139ddb3fdeb6 (diff) | |
download | curl-b85142164228abe15d6ca20a244ffb849c700e6c.tar.gz |
lib: remove unused code
This fixes the following clang warnings:
macro is not used [-Wunused-macros]
will never be executed [-Wunreachable-code]
Closes https://github.com/curl/curl/pull/1448
Diffstat (limited to 'lib/telnet.c')
-rw-r--r-- | lib/telnet.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/telnet.c b/lib/telnet.c index 5cceed258..bbdbb86ad 100644 --- a/lib/telnet.c +++ b/lib/telnet.c @@ -81,10 +81,12 @@ } WHILE_FALSE #define CURL_SB_GET(x) ((*x->subpointer++)&0xff) -#define CURL_SB_PEEK(x) ((*x->subpointer)&0xff) -#define CURL_SB_EOF(x) (x->subpointer >= x->subend) #define CURL_SB_LEN(x) (x->subend - x->subpointer) +/* For posterity: +#define CURL_SB_PEEK(x) ((*x->subpointer)&0xff) +#define CURL_SB_EOF(x) (x->subpointer >= x->subend) */ + #ifdef CURL_DISABLE_VERBOSE_STRINGS #define printoption(a,b,c,d) Curl_nop_stmt #endif |