Changeset f0bd4c in git


Ignore:
Timestamp:
Jan 10, 2017, 12:36:04 PM (6 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '5bec8f88c9ee2573d328cf7c3aff2bcb301d2395')
Children:
d22092faa534a77b8f85e33d87fee0070e584166
Parents:
b8b76ef3092b3162aa763b4c5b7705ceab2203fa
Message:
Jean-Pierre Flori: Mark unused params as unused to get rid of compiler warnings
File:
1 edited

Legend:

Unmodified
Added
Removed
  • xalloc/omalloc.h

    rb8b76e rf0bd4c  
    8787}
    8888#define omReallocAligned(A,B) omRealloc(A,B)
    89 static inline void *omReallocSize(void *d, size_t os, size_t ns)
     89static inline void *omReallocSize(void *d, __attribute__((unused)) size_t os, size_t ns)
    9090{ if (d==NULL) return omAlloc(ns);
    9191  else
     
    114114  return n;
    115115}
    116 static inline void omFreeSize(void *d, size_t s)
     116static inline void omFreeSize(void *d, __attribute__((unused)) size_t s)
    117117{ if (d!=NULL) { long *dd=(long*)d; dd--; free(dd);}}
    118118
     
    185185#define omMarkMemoryAsStatic()
    186186#define omfree(P)                omFree(P)
    187 #define omFree(P)                omFree(P)
    188187#define omFreeBin(P,B)           omFree(P)
    189188#define omfreeSize(P,S)          omFreeSize(P,S)
     
    208207#define omReallocAlignedSize         omReallocSize
    209208#define omRealloc0AlignedSize        omRealloc0Size
    210 #define omMemDupAligned     omMemDup
     209#define omMemDupAligned              omMemDup
    211210#define omCheckIf(cond, test)                    do {} while (0)
    212211#define omCheckBinAddr(addr)                     do {} while (0)
Note: See TracChangeset for help on using the changeset viewer.