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
F12507223: D2395.diff
Sat, Nov 8, 22:35
F12493792: D2395.diff
Sat, Nov 8, 08:49
Unknown Object (File)
Wed, Nov 5, 09:39
Unknown Object (File)
Wed, Nov 5, 06:13
Unknown Object (File)
Wed, Nov 5, 04:05
Unknown Object (File)
Wed, Nov 5, 04:04
Unknown Object (File)
Tue, Nov 4, 16:56
Unknown Object (File)
Thu, Oct 30, 10:45
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