Changeset 186c10e in git


Ignore:
Timestamp:
2012-07-26T03:46:37Z (7 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
ef9f0d6
Parents:
ec84974
Message:

refactor: disable expected shadow warning

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1050 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xcache.c

    r60acade r186c10e  
    9595/* }}} */
    9696/* {{{ PHP_GINIT_FUNCTION(xcache) */
    97 static
     97#pragma GCC push_options
     98#pragma GCC diagnostic ignored "-Wshadow"
     99
    98100#ifdef PHP_GINIT_FUNCTION
    99 PHP_GINIT_FUNCTION(xcache)
     101static PHP_GINIT_FUNCTION(xcache)
    100102#else
    101 void xc_init_globals(zend_xcache_globals* xcache_globals TSRMLS_DC)
    102 #endif
    103 {
     103static void xc_init_globals(zend_xcache_globals* xcache_globals TSRMLS_DC)
     104#endif
     105{
     106#pragma GCC pop_options
     107
    104108    memset(xcache_globals, 0, sizeof(zend_xcache_globals));
    105109
Note: See TracChangeset for help on using the changeset viewer.