refactor: kill unused label
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1113 c26eb9a1-5813-0410-bd6c-c2e55f420ca73.0
parent
328d09a12f
commit
731e43f93c
|
@ -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
|
||||
|
|
|
@ -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) /* {{{ */
|
||||
|
|
|
@ -1 +1 @@
|
|||
static char dummy = 1;
|
||||
static void dummy() { }
|
||||
|
|
|
@ -1 +1 @@
|
|||
static char dummy = 1;
|
||||
static void dummy() { }
|
||||
|
|
Loading…
Reference in New Issue