Branch: Tag:

2014-12-04

2014-12-04 19:25:34 by Martin Nilsson <nilsson@opera.com>

Fixed warning with ifdefs.

14:   #define BA_ONE ((struct ba_block_header *)1)   #define BA_FLAG_SORTED 1u    + #ifdef PIKE_DEBUG   static void print_allocator(const struct block_allocator * a); -  + #endif      #ifdef PIKE_DEBUG   static void ba_check_ptr(struct block_allocator * a, int page, void * ptr, struct ba_block_header *loc,
331:    PIKE_MEMPOOL_FREE(a, ptr, a->l.block_size);   }    + #ifdef PIKE_DEBUG   static void print_allocator(const struct block_allocator * a) {    int i;    struct ba_layout l;
343:    }   }    - #ifdef PIKE_DEBUG -  +    #define Pike_nfatal(n) \    (fprintf(stderr,msg_fatal_error,__FILE__,(long)(n)),debug_fatal)