Browse Source

refactor: kill unused label

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1113 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
tags/3.0.0-rc1
Xuefer 8 years ago
parent
commit
731e43f93c
5 changed files with 4 additions and 9 deletions
  1. +2
    -1
      devel/run
  2. +0
    -3
      mod_cacher/xc_cacher.c
  3. +1
    -1
      mod_decoder/xc_decoder.c
  4. +1
    -1
      mod_encoder/xc_encoder.c
  5. +0
    -3
      xcache.c

+ 2
- 1
devel/run 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


+ 0
- 3
mod_cacher/xc_cacher.c 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) /* {{{ */


+ 1
- 1
mod_decoder/xc_decoder.c View File

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

+ 1
- 1
mod_encoder/xc_encoder.c View File

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

+ 0
- 3
xcache.c View File

@@ -708,9 +708,6 @@ static PHP_MINIT_FUNCTION(xcache) /* {{{ */
#endif

return SUCCESS;

err_init:
return FAILURE;
}
/* }}} */
static PHP_MSHUTDOWN_FUNCTION(xcache) /* {{{ */


Loading…
Cancel
Save