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
F55956056: D2395.id.diff
Sun, Nov 1, 18:24
Unknown Object (File)
Sat, Oct 31, 16:07
Unknown Object (File)
Sat, Oct 31, 16:06
Unknown Object (File)
Thu, Oct 29, 08:03
Unknown Object (File)
Wed, Oct 21, 04:19
Unknown Object (File)
Mon, Oct 19, 16:49
Unknown Object (File)
Sun, Oct 18, 23:49
Unknown Object (File)
Tue, Oct 13, 10:24
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