1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

Fix warnings from clang 3.8.0 about a non-parenthesized macro in

devel/dee.

Approved by:	olivierd (maintainer)
PR:		206337
This commit is contained in:
Dimitry Andric 2016-01-24 14:57:37 +00:00
parent 69078cedc2
commit c80f3108df
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=407133

View File

@ -0,0 +1,11 @@
--- src/dee-transaction.c.orig 2012-11-28 09:46:41.000000000 +0100
+++ src/dee-transaction.c 2016-01-17 15:50:39.997965000 +0100
@@ -233,7 +233,7 @@ journal_iter_free (JournalIter *jiter)
g_slice_free (JournalIter, jiter);
}
-#define journal_iter_is_removed(jiter) jiter->change_type == CHANGE_TYPE_REMOVE
+#define journal_iter_is_removed(jiter) (jiter->change_type == CHANGE_TYPE_REMOVE)
static JournalSegment*
journal_segment_new_before (DeeModelIter *iter, DeeTransaction *txn)