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)
Tue, Nov 12, 14:24
Unknown Object (File)
Tue, Nov 12, 13:01
Unknown Object (File)
Mon, Nov 11, 08:06
Unknown Object (File)
Sun, Nov 10, 06:04
Unknown Object (File)
Sun, Nov 10, 06:04
Unknown Object (File)
Wed, Nov 6, 21:11
Unknown Object (File)
Tue, Nov 5, 12:36
Unknown Object (File)
Tue, Nov 5, 12:25
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