diff --git a/lib/curl_sasl_sspi.c b/lib/curl_sasl_sspi.c
index 0903601fa3589ca523f05b3756b9403955ef0dd9..ec3f2ca8cba279da76b25d1bde72cc00d6852b06 100644
--- a/lib/curl_sasl_sspi.c
+++ b/lib/curl_sasl_sspi.c
@@ -343,6 +343,8 @@ CURLcode Curl_sasl_create_digest_http_message(struct SessionHandle *data,
   unsigned long attrs;
   TimeStamp expiry; /* For Windows 9x compatibility of SSPI calls */
 
+  (void) data;
+
   /* Query the security package for DigestSSP */
   status = s_pSecFn->QuerySecurityPackageInfo((TCHAR *) TEXT(SP_NAME_DIGEST),
                                               &SecurityPackage);