summaryrefslogtreecommitdiff
path: root/fitz/base_memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'fitz/base_memory.c')
-rw-r--r--fitz/base_memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/base_memory.c b/fitz/base_memory.c
index a30d75db..3fdaff58 100644
--- a/fitz/base_memory.c
+++ b/fitz/base_memory.c
@@ -264,7 +264,7 @@ static int find_context(fz_context *ctx)
return i;
if (fz_lock_debug_contexts[i] == NULL)
{
- int gottit;
+ int gottit = 0;
/* We've not locked on this context before, so use
* this one for this new context. We might have other
* threads trying here too though so, so claim it