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)
Mon, Oct 5, 02:15
Unknown Object (File)
Mon, Sep 28, 14:21
Unknown Object (File)
Sun, Sep 27, 11:21
Unknown Object (File)
Sun, Sep 27, 11:21
Unknown Object (File)
Sun, Sep 27, 04:50
Unknown Object (File)
Sun, Sep 27, 04:50
Unknown Object (File)
Sat, Sep 26, 14:56
Unknown Object (File)
Sat, Sep 19, 10:13
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