Home GnuPG
Diffusion GPGME ae324b51ffa3

cpp: Avoid missing returns in non-void functions
ae324b51ffa3Unpublished

Unpublished Commit · Learn More

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

Description

cpp: Avoid missing returns in non-void functions

* lang/cpp/src/context.cpp
  (Context::signaturePolicyURL): return nullptr on default
  (to_tofu_policy_t): add default case for unknown
* lang/cpp/src/key.cpp
  (Key::primaryFingerprint): return nullptr on default
* lang/cpp/src/tofuinfo.cpp
  (GpgME::TofuInfo::policy): add default case for unknown
  • Signed-off-by: Andre Heinecke <aheinecke@intevation.de>

Details

Provenance
andreasstiegerAuthored on Sep 21 2016, 2:28 PM
aheineckeCommitted on Sep 21 2016, 4:46 PM
Parents
rM0b78bc7ba409: Post release updates
Branches
Unknown
Tags
Unknown

Event Timeline

Andre Heinecke <aheinecke@intevation.de> committed rMae324b51ffa3: cpp: Avoid missing returns in non-void functions (authored by Andreas Stieger <astieger@suse.com>).Sep 21 2016, 4:46 PM