mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-06-01 17:12:15 +00:00
fix a segfault when doing backtraces without debug info
This commit is contained in:
parent
3c78eaaa49
commit
b167bc302b
1 changed files with 2 additions and 0 deletions
|
@ -387,6 +387,8 @@ PR_Get_Param_Def (progs_t *pr, dfunction_t *func, unsigned parm)
|
||||||
pr_auxfunction_t *aux_func;
|
pr_auxfunction_t *aux_func;
|
||||||
ddef_t *ddef = 0;
|
ddef_t *ddef = 0;
|
||||||
|
|
||||||
|
if (!pr->debug)
|
||||||
|
return 0;
|
||||||
if (!func)
|
if (!func)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue