Changeset 1050 for trunk/xcache.c


Ignore:
Timestamp:
2012-07-26T05:46:37+02:00 (21 months ago)
Author:
moo
Message:

refactor: disable expected shadow warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r1047 r1050  
    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.