From 2d925fb2164d6466d7eff97b495eaa52ab0fb41a Mon Sep 17 00:00:00 2001 From: Ulf Wendel Date: Mon, 4 Oct 2010 10:02:58 +0000 Subject: 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" --- ext/mysqli/mysqli_embedded.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/mysqli/mysqli_embedded.c') 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; -- cgit v1.2.1