Cleanup compiler warning on e_signals.c:

execinfo.h (which contains the backtrace* functions is only included
        if OBJECT_PARANOIA_CHECK is defined so add an #ifdef around those calls.


SVN revision: 41439
This commit is contained in:
Christopher Michael 2009-07-19 20:08:38 +00:00
parent ac691eb2d1
commit 94a3bcae16
1 changed files with 2 additions and 0 deletions

View File

@ -74,6 +74,7 @@ _e_gdb_print_backtrace(int fd)
static void
_e_backtrace_int(int fd, const char *msg, size_t msg_len)
{
#ifdef OBJECT_PARANOIA_CHECK
char attachmsg[1024];
void *array[255];
size_t size;
@ -90,6 +91,7 @@ _e_backtrace_int(int fd, const char *msg, size_t msg_len)
_e_write_safe_int(fd, attachmsg, size);
_e_gdb_print_backtrace(fd);
#endif
}
#ifdef OBJECT_PARANOIA_CHECK