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
F53694103: D2395.id6023.diff
Sun, Oct 11, 14:48
F53680509: D2395.id6023.diff
Sun, Oct 11, 12:53
F53679694: D2395.id6022.diff
Sun, Oct 11, 12:46
F53678901: D2395.diff
Sun, Oct 11, 12:38
Unknown Object (File)
Sat, Oct 10, 19:39
Unknown Object (File)
Sat, Oct 10, 17:49
Unknown Object (File)
Sat, Oct 10, 08:10
Unknown Object (File)
Fri, Oct 9, 23:47
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