cvs: pear /Services_Weather/Weather Metar.php Weatherdotcom.php /Services_Weather/examples metar-extensive.php
| From: | Alexander Wirtz | Date: | Thu, 21 Jul 2005 07:48:40 +0000 |
| Subject: | cvs: pear /Services_Weather/Weather Metar.php Weatherdotcom.php /Services_Weather/examples metar-extensive.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-33189@lists.php.net to get a copy of this message | ||
eru Thu Jul 21 03:48:40 2005 EDT
Modified files:
/pear/Services_Weather/Weather Weatherdotcom.php Metar.php
/pear/Services_Weather/examples metar-extensive.php
Log:
Remove unneccessary break in switch
http://cvs.php.net/diff.php/pear/Services_Weather/Weather/Weatherdotcom.php?r1=1.43&r2=1.44&ty=u
Index: pear/Services_Weather/Weather/Weatherdotcom.php
diff -u pear/Services_Weather/Weather/Weatherdotcom.php:1.43
pear/Services_Weather/Weather/Weatherdotcom.php:1.44
--- pear/Services_Weather/Weather/Weatherdotcom.php:1.43 Sat Jul 10 07:12:44 2004
+++ pear/Services_Weather/Weather/Weatherdotcom.php Thu Jul 21 03:48:36 2005
@@ -16,7 +16,7 @@
// | Authors: Alexander Wirtz <alex@pc4p.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Weatherdotcom.php,v 1.43 2004/07/10 11:12:44 eru Exp $
+// $Id: Weatherdotcom.php,v 1.44 2005/07/21 07:48:36 eru Exp $
/**
* @package Services_Weather
@@ -223,7 +223,6 @@
switch ($key) {
case "head":
continue 2;
- break;
case "prmo":
$varname = "links";
break;
http://cvs.php.net/diff.php/pear/Services_Weather/Weather/Metar.php?r1=1.66&r2=1.67&ty=u
Index: pear/Services_Weather/Weather/Metar.php
diff -u pear/Services_Weather/Weather/Metar.php:1.66 pear/Services_Weather/Weather/Metar.php:1.67
--- pear/Services_Weather/Weather/Metar.php:1.66 Fri Aug 6 04:24:27 2004
+++ pear/Services_Weather/Weather/Metar.php Thu Jul 21 03:48:36 2005
@@ -16,7 +16,7 @@
// | Authors: Alexander Wirtz <alex@pc4p.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Metar.php,v 1.66 2004/08/06 08:24:27 eru Exp $
+// $Id: Metar.php,v 1.67 2005/07/21 07:48:36 eru Exp $
/**
* @package Services_Weather
@@ -1201,7 +1201,6 @@
break;
default:
continue 2;
- break;
}
$target[$key] = $newVal;
}
http://cvs.php.net/diff.php/pear/Services_Weather/examples/metar-extensive.php?r1=1.12&r2=1.13&ty=u
Index: pear/Services_Weather/examples/metar-extensive.php
diff -u pear/Services_Weather/examples/metar-extensive.php:1.12
pear/Services_Weather/examples/metar-extensive.php:1.13
--- pear/Services_Weather/examples/metar-extensive.php:1.12 Mon Jul 18 04:46:17 2005
+++ pear/Services_Weather/examples/metar-extensive.php Thu Jul 21 03:48:39 2005
@@ -16,7 +16,7 @@
// | Authors: Alexander Wirtz <alex@pc4p.net> |
// +----------------------------------------------------------------------+
//
-// $Id: metar-extensive.php,v 1.12 2005/07/18 08:46:17 eru Exp $
+// $Id: metar-extensive.php,v 1.13 2005/07/21 07:48:39 eru Exp $
/*
* Well, this is a more elaborate example how to create a neat little page
@@ -249,8 +249,7 @@
case "windVariability":
case "windGust":
case "visQualifier":
- continue(2);
- break;
+ continue 2;
default:
$string = ""; $value = "";
var_dump($key, $val);