* miscfuncs.cc (__import_address): On second thought, the chance that this

pointer could be NULL is very low so don't bother checking for it.
This commit is contained in:
Christopher Faylor 2013-01-23 14:06:06 +00:00
parent df37bdc5b7
commit 0e8c8b0093
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-01-23 Christopher Faylor <me.cygwin2013@cgf.cx>
* miscfuncs.cc (__import_address): On second thought, the chance that
this pointer could be NULL is very low so don't bother checking for it.
2013-01-23 Christopher Faylor <me.cygwin2013@cgf.cx>
* exceptions.cc (exception::handle): Make attempt to recursively dump

View File

@ -437,7 +437,7 @@ slashify (const char *src, char *dst, bool trailing_slash_p)
void * __reg1
__import_address (void *imp)
{
if (!imp || *((uint16_t *) imp) != 0x25ff)
if (*((uint16_t *) imp) != 0x25ff)
return NULL;
myfault efault;
if (efault.faulted ())