From 56f5eceb26137d07b3a665425460642fc5bb10d5 Mon Sep 17 00:00:00 2001 From: Tim Cava Date: Fri, 23 Aug 2013 02:55:27 +0000 Subject: [PATCH] Don't compare an array (cx_function) against NULL. Don't bother checking whether a context is empty, since the result is the same. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@365 13b04d17-f746-0410-82c6-800466cd88b0 --- source/ircaux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ircaux.c b/source/ircaux.c index 71569d0..77776af 100644 --- a/source/ircaux.c +++ b/source/ircaux.c @@ -1328,7 +1328,7 @@ void BX_ircpanic (char *format, ...) yell("An unrecoverable logic error has occured."); yell("Please email " BUG_EMAIL " and include the following message:"); - yell("Panic: [%s:%s %s]", irc_version, buffer, cx_function?cx_function:empty_string); + yell("Panic: [%s:%s %s]", irc_version, buffer, cx_function); dump_call_stack(); irc_exit(1, "BitchX panic... Could it possibly be a bug? Nahhhh...", NULL); }