aboutsummaryrefslogtreecommitdiff
path: root/lib/dict.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-12 09:50:44 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-12 09:50:44 +0000
commitad1a70205fa24bf1664969c5d3b3f67d7cebecb4 (patch)
treeae7bb1f083db2cc56ebad67abb1a57766acd3259 /lib/dict.c
parentd57eed6f22f7eb202a942895d968f4af87b7cae0 (diff)
removed the nth variable, it was only set and never used anyway
Diffstat (limited to 'lib/dict.c')
-rw-r--r--lib/dict.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/dict.c b/lib/dict.c
index a22fa5a4d..a07760bbd 100644
--- a/lib/dict.c
+++ b/lib/dict.c
@@ -81,7 +81,6 @@
CURLcode Curl_dict(struct connectdata *conn)
{
- int nth;
char *word;
char *ppath;
char *database = NULL;
@@ -129,12 +128,6 @@ CURLcode Curl_dict(struct connectdata *conn)
if ((strategy == NULL) || (*strategy == (char)0)) {
strategy = (char *)".";
}
- if ((nthdef == NULL) || (*nthdef == (char)0)) {
- nth = 0;
- }
- else {
- nth = atoi(nthdef);
- }
result = Curl_sendf(sockfd, conn,
"CLIENT " LIBCURL_NAME " " LIBCURL_VERSION "\n"
@@ -179,12 +172,6 @@ CURLcode Curl_dict(struct connectdata *conn)
if ((database == NULL) || (*database == (char)0)) {
database = (char *)"!";
}
- if ((nthdef == NULL) || (*nthdef == (char)0)) {
- nth = 0;
- }
- else {
- nth = atoi(nthdef);
- }
result = Curl_sendf(sockfd, conn,
"CLIENT " LIBCURL_NAME " " LIBCURL_VERSION "\n"