Home GnuPG
Diffusion GPGME 8b9f84828cd0

Fix compiler warnings about unused value in TRACE macros.
8b9f84828cd0Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Fix compiler warnings about unused value in TRACE macros.

* src/debug.h: Change macros to not have a literal 0 as last
expression of the comma operator.
* src/debug.c (_gpgme_debug_frame_end): Return 0.
(_gpgme_debug): Return 0.

Instead of using

foo(), 0

for the trace macros we let foo() return 0 instead.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jun 8 2015, 11:08 AM
Parents
rMa5b040cc57c6: Fix test suite for GnuPG 2.1 which uses pubring.kbx.
Branches
Unknown
Tags
Unknown

Event Timeline