cvs: php4 /ext/standard datetime.c /win32 sendmail.c
| From: | Sebastian Bergmann | Date: | Fri, 14 Jun 2002 05:42:09 +0000 |
| Subject: | cvs: php4 /ext/standard datetime.c /win32 sendmail.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12358@lists.php.net to get a copy of this message | ||
sebastian Fri Jun 14 01:42:09 2002 EDT
Modified files:
/php4/ext/standard datetime.c
/php4/win32 sendmail.c
Log:
Remove unused local variables.
Index: php4/ext/standard/datetime.c
diff -u php4/ext/standard/datetime.c:1.87 php4/ext/standard/datetime.c:1.88
--- php4/ext/standard/datetime.c:1.87 Wed Jun 12 11:35:27 2002
+++ php4/ext/standard/datetime.c Fri Jun 14 01:42:08 2002
@@ -19,7 +19,7 @@
*/
-/* $Id: datetime.c,v 1.87 2002/06/12 15:35:27 hholzgra Exp $ */
+/* $Id: datetime.c,v 1.88 2002/06/14 05:42:08 sebastian Exp $ */
#include "php.h"
@@ -80,7 +80,7 @@
void php_mktime(INTERNAL_FUNCTION_PARAMETERS, int gm)
{
pval **arguments[7];
- struct tm *ta, tmbuf, *t1, *t2;
+ struct tm *ta, tmbuf;
time_t t, seconds;
int i, gmadjust, arg_count = ZEND_NUM_ARGS();
int is_dst = -1, val, chgsecs = 0;
Index: php4/win32/sendmail.c
diff -u php4/win32/sendmail.c:1.43 php4/win32/sendmail.c:1.44
--- php4/win32/sendmail.c:1.43 Thu Jun 13 18:25:28 2002
+++ php4/win32/sendmail.c Fri Jun 14 01:42:08 2002
@@ -17,7 +17,7 @@
*
*/
-/* $Id: sendmail.c,v 1.43 2002/06/13 22:25:28 mfischer Exp $ */
+/* $Id: sendmail.c,v 1.44 2002/06/14 05:42:08 sebastian Exp $ */
#include "php.h" /*php specific */
#include <stdio.h>
@@ -589,7 +589,7 @@
time_t tNow = time(NULL);
struct tm *tm = localtime(&tNow);
int zoneh = abs(_timezone);
- int zonem, res, len;
+ int zonem, res;
char *header_buffer;
char *headers_lc = NULL;
size_t i;