Fix compiler warnings when compiling patience diff module

This commit is contained in:
Kovid Goyal 2017-08-23 07:49:45 +05:30
parent 9355dd7668
commit 2f35ca7ca5
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -50,7 +50,7 @@
* causing <https://bugs.launchpad.net/bzr/+bug/511267> and * causing <https://bugs.launchpad.net/bzr/+bug/511267> and
* <https://bugs.launchpad.net/bzr/+bug/331095>. On glibc it passes, but * <https://bugs.launchpad.net/bzr/+bug/331095>. On glibc it passes, but
* let's make it fail to aid testing. */ * let's make it fail to aid testing. */
#define guarded_malloc(x) ( (x) ? malloc(x) : NULL ) static inline void* guarded_malloc(size_t x) { return x ? malloc(x) : NULL; }
enum { enum {
OP_EQUAL = 0, OP_EQUAL = 0,