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
F3715862: D2395.diff
Tue, Nov 5, 10:28
F3714582: D2395.id6022.diff
Mon, Nov 4, 17:15
Unknown Object (File)
Sat, Nov 2, 22:56
Unknown Object (File)
Thu, Oct 31, 12:23
Unknown Object (File)
Thu, Oct 31, 12:07
Unknown Object (File)
Sun, Oct 27, 15:36
Unknown Object (File)
Sat, Oct 26, 21:05
Unknown Object (File)
Sat, Oct 26, 03:33
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