Revision: 2519
          http://tmux.svn.sourceforge.net/tmux/?rev=2519&view=rev
Author:   tcunha
Date:     2011-05-26 20:12:07 +0000 (Thu, 26 May 2011)

Log Message:
-----------
Sync OpenBSD patchset 819:

Nuke a redundant if statement, from Tiago Cunha.

Modified Paths:
--------------
    trunk/cmd-if-shell.c

Modified: trunk/cmd-if-shell.c
===================================================================
--- trunk/cmd-if-shell.c        2011-05-26 10:35:07 UTC (rev 2518)
+++ trunk/cmd-if-shell.c        2011-05-26 20:12:07 UTC (rev 2519)
@@ -1,4 +1,4 @@
-/* $Id: cmd-if-shell.c,v 1.12 2011-02-15 15:20:03 tcunha Exp $ */
+/* $OpenBSD: cmd-if-shell.c,v 1.12 2011/05/25 17:50:52 nicm Exp $ */
 
 /*
  * Copyright (c) 2009 Tiago Cunha <m...@tiagocunha.org>
@@ -88,11 +88,7 @@
                return;
        }
 
-       if (cmd_list_exec(cmdlist, ctx) < 0) {
-               cmd_list_free(cmdlist);
-               return;
-       }
-
+       cmd_list_exec(cmdlist, ctx);
        cmd_list_free(cmdlist);
 }
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
tmux-cvs mailing list
tmux-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to