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
Unknown Object (File)
Wed, Nov 5, 09:39
Unknown Object (File)
Wed, Nov 5, 06:13
Unknown Object (File)
Wed, Nov 5, 04:05
Unknown Object (File)
Wed, Nov 5, 04:04
Unknown Object (File)
Tue, Nov 4, 16:56
Unknown Object (File)
Thu, Oct 30, 10:45
Unknown Object (File)
Thu, Oct 30, 03:07
Unknown Object (File)
Wed, Oct 29, 11:14
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