]> granicus.if.org Git - php/commitdiff
initialize to_r
authorAntony Dovgal <tony2001@php.net>
Mon, 6 Feb 2006 10:41:28 +0000 (10:41 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 6 Feb 2006 10:41:28 +0000 (10:41 +0000)
remove needless semicolon

ext/mbstring/mbstring.c

index 8ebb56ef2111aef0736b7eb4cb7cbd9c902a39c9..ef277feb43912c425ca5719fdac5620e03b111d4 100644 (file)
@@ -164,7 +164,7 @@ static
        ZEND_BEGIN_ARG_INFO(third_and_rest_force_ref, 1)
                ZEND_ARG_PASS_INFO(0)
                ZEND_ARG_PASS_INFO(0)
-       ZEND_END_ARG_INFO();
+       ZEND_END_ARG_INFO()
 
 /* {{{ mb_overload_def mb_ovld[] */
 static const struct mb_overload_def mb_ovld[] = {
@@ -3048,7 +3048,7 @@ PHP_FUNCTION(mb_send_mail)
        char *extra_cmd=NULL;
        int extra_cmd_len;
        int i;
-       char *to_r;
+       char *to_r = NULL;
        char *force_extra_parameters = INI_STR("mail.force_extra_parameters");
        struct {
                int cnt_type:1;