Don't bother storing what get_window_by_name() returns, it goes unused. Found by Coverity.

git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@248 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Tim Cava
2013-06-26 11:51:41 +00:00
parent b5574f3b23
commit 3812cf36a6

View File

@@ -294,7 +294,7 @@ void toggle_aimwin (Window *win, char *unused, int onoff){
Window *tmp; Window *tmp;
if (onoff) if (onoff)
{ {
if ((tmp = get_window_by_name("AIM"))) if (get_window_by_name("AIM"))
return; return;
if ((tmp = new_window(win->screen))) if ((tmp = new_window(win->screen)))
{ {