1
0
Fork 0

refactor: kill unused label

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1113 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 2012-08-01 17:59:34 +00:00
parent 328d09a12f
commit 731e43f93c
5 changed files with 4 additions and 9 deletions

View File

@ -143,7 +143,7 @@ phpize)
export PATH=$PHPDIRS/$phpbasename/bin:$PATH
phpize --clean \
&& phpize \
&& CFLAGS="-g -O0 -pedantic-errors -Wno-variadic-macros -Wno-long-long -Wall -Wno-unused -W -Wshadow -Werror=implicit-function-declaration -std=c89 -D_GNU_SOURCE -D_POSIX_SOURCE -Dinline=" ./configure \
&& CFLAGS="-g -O0 -pedantic-errors -Wno-variadic-macros -Wno-long-long -Wall -Wno-unused-parameter -Wno-unused-function -W -Wshadow -Werror=implicit-function-declaration -std=c89 -D_GNU_SOURCE -D_POSIX_SOURCE -Dinline=" ./configure \
--enable-xcache-cacher \
--enable-xcache-optimizer \
--enable-xcache-encoder \
@ -162,6 +162,7 @@ esac
LANG=C $MAKE $MAKEOPTS "${MAKEARGS[@]}" 2>&1 \
| sed -ur \
-e 's#Werror=implicit-function-declaration#We/rror=i/mplicit-function-declaration#' \
-e 's#-pedantic-errors#-pedantic-e/rrors#' \
-e 's#\./xc_processor\.h#'$PWD'/xc_processor.h#' \
-e 's#\./xc_processor\.c\.h#'$PWD'/xc_processor.c.h#' \
| hi error implicit warn FAIL

View File

@ -3336,9 +3336,6 @@ static PHP_MINIT_FUNCTION(xcache_cacher) /* {{{ */
xc_sandbox_module_init(module_number TSRMLS_CC);
return xcache_zend_extension_add(&xc_cacher_zend_extension_entry, 0);
err_init:
return FAILURE;
}
/* }}} */
static PHP_MSHUTDOWN_FUNCTION(xcache_cacher) /* {{{ */

View File

@ -1 +1 @@
static char dummy = 1;
static void dummy() { }

View File

@ -1 +1 @@
static char dummy = 1;
static void dummy() { }

View File

@ -708,9 +708,6 @@ static PHP_MINIT_FUNCTION(xcache) /* {{{ */
#endif
return SUCCESS;
err_init:
return FAILURE;
}
/* }}} */
static PHP_MSHUTDOWN_FUNCTION(xcache) /* {{{ */