Page MenuHomeDevCentral

Explicitly return a value when command should silently fail
ClosedPublic

Authored by dereckson on Aug 29 2021, 00:54.
Tags
None
Referenced Files
F4812114: D2395.id.diff
Thu, Feb 27, 09:31
F4811074: D2395.diff
Thu, Feb 27, 09:12
Unknown Object (File)
Tue, Feb 25, 04:03
Unknown Object (File)
Sun, Feb 16, 12:37
Unknown Object (File)
Sun, Feb 16, 12:16
Unknown Object (File)
Wed, Feb 5, 07:26
Unknown Object (File)
Fri, Jan 31, 12:00
Unknown Object (File)
Wed, Jan 29, 00:49
Subscribers
None

Details

Summary

This fixes the following compilation issue:

./../source/chan.c:91:6: error: non-void function 'do_math'
should return a value [-Wreturn-type] return;
Test Plan

gmake

Diff Detail

Repository
rDARKBOT Darkbot
Lint
Lint Passed
Unit
No Test Coverage
Branch
T1646-return-type
Build Status
Buildable 3717
Build 3967: arc lint + arc unit