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
Unknown Object (File)
Wed, Oct 8, 06:12
Unknown Object (File)
Wed, Oct 8, 00:24
Unknown Object (File)
Mon, Oct 6, 23:05
Unknown Object (File)
Mon, Oct 6, 21:42
Unknown Object (File)
Mon, Oct 6, 21:17
Unknown Object (File)
Mon, Oct 6, 14:11
Unknown Object (File)
Sun, Oct 5, 09:35
Unknown Object (File)
Fri, Oct 3, 08:58
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