Changeset 1346 in svn for trunk


Ignore:
Timestamp:
2013-08-26T10:04:31+02:00 (2 years ago)
Author:
Xuefer
Message:

fixed #320: void warning for gcc only pragma

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r1321 r1346  
    115115/* }}} */
    116116/* {{{ PHP_GINIT_FUNCTION(xcache) */
     117#ifdef __GNUC__
    117118#pragma GCC push_options
    118119#pragma GCC diagnostic ignored "-Wshadow"
     120#endif
    119121
    120122#ifdef PHP_GINIT_FUNCTION
     
    124126#endif
    125127{
     128#ifdef __GNUC__
    126129#pragma GCC pop_options
     130#endif
    127131
    128132    memset(xcache_globals, 0, sizeof(zend_xcache_globals));
Note: See TracChangeset for help on using the changeset viewer.