After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 753122 - Non-void function should return a value
Non-void function should return a value
Status: RESOLVED FIXED
Product: libgit2-glib
Classification: Core
Component: General
git master
Other FreeBSD
: Normal normal
: ---
Assigned To: gitg-maint
gitg-maint
Depends on:
Blocks:
 
 
Reported: 2015-08-01 06:11 UTC by Ting-Wei Lan
Modified: 2019-02-22 03:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix return value for ggit_fetch_options_get_download_tags (958 bytes, patch)
2015-08-01 06:11 UTC, Ting-Wei Lan
committed Details | Review

Description Ting-Wei Lan 2015-08-01 06:11:02 UTC
ggit_fetch_options_get_download_tags() returns GgitRemoteDownloadTagsType, so it cannot use g_return_if_fail.
Comment 1 Ting-Wei Lan 2015-08-01 06:11:49 UTC
Created attachment 308597 [details] [review]
Fix return value for ggit_fetch_options_get_download_tags
Comment 2 Ignacio Casal Quinteiro (nacho) 2015-08-01 07:00:46 UTC
Review of attachment 308597 [details] [review]:

Looks good
Comment 3 Ting-Wei Lan 2015-08-01 08:15:22 UTC
Attachment 308597 [details] pushed as 260a506 - Fix return value for ggit_fetch_options_get_download_tags