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
F3780676: D2395.id6023.diff
Mon, Nov 25, 16:10
Unknown Object (File)
Fri, Nov 22, 21:27
Unknown Object (File)
Fri, Nov 22, 12:11
Unknown Object (File)
Fri, Nov 22, 07:00
Unknown Object (File)
Tue, Nov 12, 14:24
Unknown Object (File)
Tue, Nov 12, 13:01
Unknown Object (File)
Mon, Nov 11, 08:06
Unknown Object (File)
Sun, Nov 10, 06:04
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