From e20c62d3be14b45de482d385c18f35c529347d8a 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_exception.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/mysqli/mysqli_exception.c') diff --git a/ext/mysqli/mysqli_exception.c b/ext/mysqli/mysqli_exception.c index 14b6c51c74..6372fb8ff1 100644 --- a/ext/mysqli/mysqli_exception.c +++ b/ext/mysqli/mysqli_exception.c @@ -36,13 +36,13 @@ const zend_function_entry mysqli_exception_methods[] = { }; /* }}} */ -void php_mysqli_throw_sql_exception(char *sqlstate, int errorno TSRMLS_DC, char *format, ...) +void php_mysqli_throw_sql_exception(char *sqlstate, int errorno TSRMLS_DC, char *format, ...) { zval *sql_ex; va_list arg; char *message; - va_start(arg, format); + va_start(arg, format); vspprintf(&message, 0, format, arg); va_end(arg);; -- cgit v1.2.1