]> granicus.if.org Git - php/commitdiff
Remove unused local variables.
authorSebastian Bergmann <sebastian@php.net>
Fri, 14 Jun 2002 05:42:08 +0000 (05:42 +0000)
committerSebastian Bergmann <sebastian@php.net>
Fri, 14 Jun 2002 05:42:08 +0000 (05:42 +0000)
ext/standard/datetime.c
win32/sendmail.c

index 4993d25d4674b8c54387852e019ffd8c8d91f6f6..c902afbc00ad9361478ff006d95147ff4ccb1f44 100644 (file)
@@ -80,7 +80,7 @@ PHP_FUNCTION(time)
 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 abcd894d8fe0d88f614d0b62607c45b697558d96..4ef759ec20affbd365b0d6f586b13327c138e070 100644 (file)
@@ -589,7 +589,7 @@ int PostHeader(char *RPath, char *Subject, char *mailTo, char *xheaders, char *m
        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;