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
F53158252: D2395.id6022.diff
Wed, Oct 7, 11:10
F53145163: D2395.id6023.diff
Wed, Oct 7, 09:04
F53145158: D2395.id6022.diff
Wed, Oct 7, 09:04
F53134170: D2395.id6022.diff
Wed, Oct 7, 07:40
F53129466: D2395.diff
Wed, Oct 7, 06:58
Unknown Object (File)
Mon, Oct 5, 02:15
Unknown Object (File)
Mon, Sep 28, 14:21
Unknown Object (File)
Sun, Sep 27, 11:21
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 Not Applicable
Unit
Tests Not Applicable