Akihiro Sagawa : dbghelp: Get rid of useless while loop.
Alexandre Julliard
julliard at winehq.org
Thu Sep 9 15:42:31 CDT 2021
Module: wine
Branch: master
Commit: 70032f88639eb4a36aadb637fe54856541d88e30
URL: https://source.winehq.org/git/wine.git/?a=commit;h=70032f88639eb4a36aadb637fe54856541d88e30
Author: Akihiro Sagawa <sagawa.aki at gmail.com>
Date: Thu Sep 9 22:33:14 2021 +0900
dbghelp: Get rid of useless while loop.
Signed-off-by: Akihiro Sagawa <sagawa.aki at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/dbghelp/dwarf.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c
index af84fb660b8..c6657c87f18 100644
--- a/dlls/dbghelp/dwarf.c
+++ b/dlls/dbghelp/dwarf.c
@@ -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;
More information about the wine-cvs
mailing list