diff --git a/indra/llcorehttp/_httpoprequest.cpp b/indra/llcorehttp/_httpoprequest.cpp
index d71ace5d574b7664f93fc6b44731732f1e6617fa..316df8bd495c0e6915ab4b4ef4a1f9f29c8b3263 100644
--- a/indra/llcorehttp/_httpoprequest.cpp
+++ b/indra/llcorehttp/_httpoprequest.cpp
@@ -410,7 +410,7 @@ int parse_content_range_header(char * buffer,
 							   unsigned int * last,
 							   unsigned int * length)
 {
-	char * tok_state(NULL), * tok;
+	char * tok_state(NULL), * tok(NULL);
 	bool match(true);
 			
 	if (! strtok_r(buffer, ": \t", &tok_state))