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)
Thu, Oct 30, 10:45
Unknown Object (File)
Thu, Oct 30, 03:07
Unknown Object (File)
Wed, Oct 29, 11:14
Unknown Object (File)
Sun, Oct 26, 10:12
Unknown Object (File)
Fri, Oct 24, 19:01
Unknown Object (File)
Fri, Oct 24, 18:12
Unknown Object (File)
Fri, Oct 24, 06:50
Unknown Object (File)
Fri, Oct 24, 01:30
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