diff --git a/gdb/linespec.c b/gdb/linespec.c index e9339c3338c..b8c77541a29 100644 --- a/gdb/linespec.c +++ b/gdb/linespec.c @@ -4129,7 +4129,7 @@ minsym_found (struct linespec_state *self, struct objfile *objfile, struct minimal_symbol *msymbol, std::vector *result) { - bool want_start_sal; + bool want_start_sal = false; CORE_ADDR func_addr; bool is_function = msymbol_is_function (objfile, msymbol, &func_addr);