cvs: pear /Structures_LinkedList Single.php package.xml

From: Date: Sun, 25 Feb 2007 04:53:33 +0000
Subject: cvs: pear /Structures_LinkedList Single.php package.xml
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-44864@lists.php.net to get a copy of this message
dbs Sun Feb 25 04:53:33 2007 UTC Modified files: /pear/Structures_LinkedList Single.php package.xml Log: Correct a few minor syntax warnings. http://cvs.php.net/viewvc.cgi/pear/Structures_LinkedList/Single.php?r1=1.6&r2=1.7&diff_format=u Index: pear/Structures_LinkedList/Single.php diff -u pear/Structures_LinkedList/Single.php:1.6 pear/Structures_LinkedList/Single.php:1.7 --- pear/Structures_LinkedList/Single.php:1.6 Fri Dec 8 00:53:39 2006 +++ pear/Structures_LinkedList/Single.php Sun Feb 25 04:53:33 2007 @@ -48,7 +48,7 @@ * @author Dan Scott <dscott@laurentian.ca> * @copyright 2006 Dan Scott * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @version CVS: $Id: Single.php,v 1.6 2006/12/08 00:53:39 dbs Exp $ + * @version CVS: $Id: Single.php,v 1.7 2007/02/25 04:53:33 dbs Exp $ * @link http://pear.php.net/package/Structures_LinkedList_Single * @example single_link_example.php * @@ -283,6 +283,7 @@ } $prior_node = $y; } + return null; } // }}} @@ -334,7 +335,8 @@ if ($existing_node === $this->root_node) { $this->root_node = $new_node; } - if ($previous_node = $this->_getPreviousNode($existing_node)) { + $previous_node = $this->_getPreviousNode($existing_node); + if ($previous_node) { $previous_node->setNext($new_node); } $new_node->setNext($existing_node); http://cvs.php.net/viewvc.cgi/pear/Structures_LinkedList/package.xml?r1=1.3&r2=1.4&diff_format=u Index: pear/Structures_LinkedList/package.xml diff -u pear/Structures_LinkedList/package.xml:1.3 pear/Structures_LinkedList/package.xml:1.4 --- pear/Structures_LinkedList/package.xml:1.3 Wed Nov 29 12:34:50 2006 +++ pear/Structures_LinkedList/package.xml Sun Feb 25 04:53:33 2007 @@ -18,9 +18,9 @@ <email>dbs@php.net</email> <active>yes</active> </lead> - <date>2006-11-29</date> + <date>2007-02-24</date> <version> - <release>0.1.1</release> + <release>0.1.2</release> <api>0.1.0</api> </version> <stability> @@ -29,7 +29,7 @@ </stability> <license uri="http://apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</license> <notes> -#9484 _getTailNode() scoped incorrectly +* Correct some syntax warnings thanks to Christophe Gesche's codechecker </notes> <contents> <dir name="/" baseinstalldir="Structures/LinkedList">

« previous php.pear.cvs (#44864) next »