Commit 70032f88 authored by Akihiro Sagawa's avatar Akihiro Sagawa Committed by Alexandre Julliard

dbghelp: Get rid of useless while loop.

parent 5f139f14
......@@ -2188,7 +2188,6 @@ static BOOL dwarf2_parse_line_numbers(const dwarf2_section_t* sections,
vector_init(&dirs, sizeof(const char*), 4);
p = vector_add(&dirs, &ctx->pool);
*p = compile_dir ? compile_dir : ".";
while (*traverse.data)
while (traverse.data < traverse.end_data && *traverse.data)
{
const char* rel = (const char*)traverse.data;
......
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