summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMonty Brandenberg <monty@lindenlab.com>2012-04-25 15:47:30 -0400
committerMonty Brandenberg <monty@lindenlab.com>2012-04-25 15:47:30 -0400
commita54e9c379550f7901404990ea7fddb99c0188048 (patch)
tree7e39c1fe4f76f6d79f7d915a1e8e5fa8c75ab072 /indra
parenta33bec1e5ef5e399f41267f06dc6d355dd34efe6 (diff)
Another fix for Mac warnings. Uninitialized auto check. Not an
actual problem but this will quiet the compiler.
Diffstat (limited to 'indra')
-rw-r--r--indra/llcorehttp/_httpoprequest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcorehttp/_httpoprequest.cpp b/indra/llcorehttp/_httpoprequest.cpp
index d71ace5d57..316df8bd49 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))