Commit 6fa91605 authored by Davis King's avatar Davis King

Changed code a little to avoid compiler warnings about

uninitialized variables.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402504
parent e55ead86
......@@ -21,6 +21,11 @@ namespace dlib
{
struct stack_tracer_data
{
stack_tracer_data(
) : funct_name(0),
file_name(0),
line_number(0)
{}
const char* funct_name;
const char* file_name;
int line_number;
......
......@@ -111,8 +111,8 @@ namespace dlib
)
{
const thread_id_type id = get_thread_id();
thread_id_type junk;
T* item;
thread_id_type junk = 0;
T* item = 0;
auto_mutex M(m);
--thread_end_handler_calls_left;
if (items[id])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment