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
F12288234: D2395.id.diff
Sat, Oct 18, 23:46
Unknown Object (File)
Sat, Oct 18, 11:21
Unknown Object (File)
Mon, Oct 13, 09:53
Unknown Object (File)
Sun, Oct 12, 05:39
Unknown Object (File)
Fri, Oct 10, 10:20
Unknown Object (File)
Fri, Oct 10, 09:50
Unknown Object (File)
Wed, Oct 8, 06:12
Unknown Object (File)
Wed, Oct 8, 00: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