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
F53299857: D2395.id6022.diff
Thu, Oct 8, 09:04
F53195251: D2395.id6023.diff
Wed, Oct 7, 16:49
F53158252: D2395.id6022.diff
Wed, Oct 7, 11:10
Unknown Object (File)
Wed, Oct 7, 09:04
Unknown Object (File)
Wed, Oct 7, 09:04
Unknown Object (File)
Wed, Oct 7, 07:40
Unknown Object (File)
Wed, Oct 7, 06:58
Unknown Object (File)
Mon, Oct 5, 02:15
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