Mercurial > mplayer.hg
view loader/wine/pshpack4.h @ 36660:7fd255e0db1b
stream.c: remove pointless NULL check.
Since it currently is a fixed-size array it can never be NULL.
But even if this was changed, this check has no real value:
it should still only be possible in case of an obvious code bug
during development and the crash it would cause would be easy enough
to debug.
author | reimar |
---|---|
date | Sun, 26 Jan 2014 18:59:15 +0000 |
parents | 32725ca88fed |
children |
line wrap: on
line source
#ifndef MPLAYER_PSHPACK_H #define MPLAYER_PSHPACK_H 4 #if defined(__GNUC__) || defined(__SUNPRO_CC) //#pragma pack(4) #elif defined(__SUNPRO_C) //#pragma pack() #elif !defined(RC_INVOKED) #error "4 as alignment isn't supported by the compiler" #endif /* defined(__GNUC__) || defined(__SUNPRO_CC) ; !defined(RC_INVOKED) */ #else /* MPLAYER_PSHPACK_H */ #error "Nested pushing of alignment isn't supported by the compiler" #endif /* MPLAYER_PSHPACK_H */