/pidgin/main: c986b1e3fa1d: Silence a result_independent_of_oper...
Tomasz Wasilczyk
twasilczyk at pidgin.im
Thu May 15 09:20:07 EDT 2014
Changeset: c986b1e3fa1ded60a921f691eabf2611ca8cb259
Author: Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date: 2014-05-15 15:19 +0200
Branch: release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/c986b1e3fa1d
Description:
Silence a result_independent_of_operands coverity false positive
diffstat:
libpurple/prpl.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diffs (13 lines):
diff --git a/libpurple/prpl.h b/libpurple/prpl.h
--- a/libpurple/prpl.h
+++ b/libpurple/prpl.h
@@ -1011,4 +1011,9 @@ PurplePlugin *purple_find_prpl(const cha
}
#endif
+#ifdef __COVERITY__
+#undef PURPLE_PROTOCOL_PLUGIN_HAS_FUNC
+#define PURPLE_PROTOCOL_PLUGIN_HAS_FUNC(prpl, member) (prpl->member != NULL)
+#endif
+
#endif /* _PRPL_H_ */
More information about the Commits
mailing list