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:
@@ -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)))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user