From d4dd924850e6fb3b7d150299d08b6d488ff1023a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Thu, 20 Dec 2012 16:26:29 +0000 Subject: [PATCH] gltrace: Prevent use of uninitialised variable. --- wrappers/gltrace_state.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrappers/gltrace_state.cpp b/wrappers/gltrace_state.cpp index 68bda10..031b5cc 100644 --- a/wrappers/gltrace_state.cpp +++ b/wrappers/gltrace_state.cpp @@ -94,7 +94,7 @@ static bool _releaseContext(context_ptr_t ctx) */ bool releaseContext(uintptr_t context_id) { - bool res; + bool res = false; context_map_mutex.lock(); /* -- 2.43.0