make sure we have NULL pointers
This commit is contained in:
parent
9bdc7ca96e
commit
94bdda200f
@ -659,7 +659,8 @@ inline EXTERN yamop *PtoOpAdjust (yamop *);
|
|||||||
inline EXTERN yamop *
|
inline EXTERN yamop *
|
||||||
PtoOpAdjust (yamop * ptr)
|
PtoOpAdjust (yamop * ptr)
|
||||||
{
|
{
|
||||||
return (yamop *) (CharP (ptr) + HDiff);
|
if (ptr)
|
||||||
|
return (yamop *) (CharP (ptr) + HDiff);
|
||||||
}
|
}
|
||||||
|
|
||||||
inline EXTERN struct operator_entry *OpListAdjust (struct operator_entry *);
|
inline EXTERN struct operator_entry *OpListAdjust (struct operator_entry *);
|
||||||
|
Reference in New Issue
Block a user