]> granicus.if.org Git - curl/commitdiff
removed the nth variable, it was only set and never used anyway
authorDaniel Stenberg <daniel@haxx.se>
Thu, 12 Feb 2004 09:50:44 +0000 (09:50 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 12 Feb 2004 09:50:44 +0000 (09:50 +0000)
lib/dict.c

index a22fa5a4d3f2fc6a966e7851eece392021a145a5..a07760bbd876927cbc071b93828c115c440ee7b7 100644 (file)
@@ -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"