mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-22 02:11:19 +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;
|
||||
ddef_t *ddef = 0;
|
||||
|
||||
if (!pr->debug)
|
||||
return 0;
|
||||
if (!func)
|
||||
return 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue