Add missing return in nonvoid functions #2
Merged
SlavekB
merged 1 commits from ftbfs/no_return_in_nonvoid_functions
into master
3 years ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'ftbfs/no_return_in_nonvoid_functions'
Deleting a branch is permanent. It CANNOT be undone. Continue?
The Open Build Service linter complains about missing returns in non-void functions.
This patch add the returns.
edec0c9030
to5ba534b872
3 years agoOne occurrence seems incorrect. Please check it.
realFunction(chooser);
if (((kgtkApp == APP_UNKNOWN) && BLACKLIST_UNKNOWN_GTK_APPS) || (kgtkApp == APP_BLACKLISTED) && realFunction) {
return;
return FALSE;
The return value of this function is
void
– here probablyreturn FALSE
is not in place.You are correct, I've removed this occurence and the linter is still happy.
5ba534b872
to98a4338d07
3 years agoIt seems good.
98a4338d07
into master 3 years agoReviewers
98a4338d07
.