diff options
author | Ulf Wendel <uw@php.net> | 2010-10-04 10:02:58 +0000 |
---|---|---|
committer | Ulf Wendel <uw@php.net> | 2010-10-04 10:02:58 +0000 |
commit | e20c62d3be14b45de482d385c18f35c529347d8a (patch) | |
tree | 1d893ebd468eec173633eb8f2fa2e04b16ccbe6a /ext/mysqli/mysqli_embedded.c | |
parent | e8c87c6d21670ced24b98a31a5b81dff6a526ef2 (diff) | |
download | php-git-e20c62d3be14b45de482d385c18f35c529347d8a.tar.gz |
Sorry for the commit but compiler warnings are annoying and so are white spaces at the end of a line, if one uses an editor which removes them on save and diff's get blown
up by white space changes...
Changes:
- remove end of line white space
- fix compiler warning "ext/mysqli/mysqli_priv.h:156:27: warning: no newline at end of file"
- fix compiler warning "ext/mysqli/mysqli_fe.h:135:25: warning: no newline at end of file"
- fix compiler warning "ext/mysqli/mysqli.c:896:11: warning: extra tokens at end of #ifdef directive"
Diffstat (limited to 'ext/mysqli/mysqli_embedded.c')
-rw-r--r-- | ext/mysqli/mysqli_embedded.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mysqli/mysqli_embedded.c b/ext/mysqli/mysqli_embedded.c index 1b3eb47491..761ffc79d3 100644 --- a/ext/mysqli/mysqli_embedded.c +++ b/ext/mysqli/mysqli_embedded.c @@ -53,7 +53,7 @@ PHP_FUNCTION(mysqli_embedded_server_start) /* get arguments */ if ((argc = zend_hash_num_elements(HASH_OF(args)))) { arguments = safe_emalloc(sizeof(char *), argc + 1, 0); - arguments[0] = NULL; + arguments[0] = NULL; zend_hash_internal_pointer_reset_ex(HASH_OF(args), &pos); @@ -74,7 +74,7 @@ PHP_FUNCTION(mysqli_embedded_server_start) /* get groups */ if ((zend_hash_num_elements(HASH_OF(grps)))) { groups = safe_emalloc(sizeof(char *), zend_hash_num_elements(HASH_OF(grps)) + 1, 0); - groups[0] = NULL; + groups[0] = NULL; zend_hash_internal_pointer_reset_ex(HASH_OF(grps), &pos); @@ -89,7 +89,7 @@ PHP_FUNCTION(mysqli_embedded_server_start) groups[++index] = Z_STRVAL_PP(item); } - groups[index] = NULL; + groups[index] = NULL; } else { groups = safe_emalloc(sizeof(char *), 1, 0); groups[0] = NULL; |