dbghelp: Constify some variables.
This commit is contained in:
parent
23c26982e9
commit
94c0407cac
|
@ -583,7 +583,7 @@ static int stabs_pts_read_range(struct ParseTypedefData* ptd, const char* typena
|
||||||
static inline int stabs_pts_read_method_info(struct ParseTypedefData* ptd)
|
static inline int stabs_pts_read_method_info(struct ParseTypedefData* ptd)
|
||||||
{
|
{
|
||||||
struct symt* dt;
|
struct symt* dt;
|
||||||
char* tmp;
|
const char* tmp;
|
||||||
char mthd;
|
char mthd;
|
||||||
|
|
||||||
do
|
do
|
||||||
|
@ -740,7 +740,7 @@ static inline int stabs_pts_read_aggregate(struct ParseTypedefData* ptd,
|
||||||
break;
|
break;
|
||||||
case ':':
|
case ':':
|
||||||
{
|
{
|
||||||
char* tmp;
|
const char* tmp;
|
||||||
/* method parameters... terminated by ';' */
|
/* method parameters... terminated by ';' */
|
||||||
PTS_ABORTIF(ptd, !(tmp = strchr(ptd->ptr, ';')));
|
PTS_ABORTIF(ptd, !(tmp = strchr(ptd->ptr, ';')));
|
||||||
ptd->ptr = tmp + 1;
|
ptd->ptr = tmp + 1;
|
||||||
|
|
Loading…
Reference in New Issue