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, Jan 29, 00:49
Unknown Object (File)
Tue, Jan 28, 22:13
Unknown Object (File)
Sun, Jan 26, 05:16
Unknown Object (File)
Sat, Jan 18, 13:33
Unknown Object (File)
Sun, Jan 12, 05:08
Unknown Object (File)
Thu, Jan 9, 08:12
Unknown Object (File)
Thu, Jan 9, 08:11
Unknown Object (File)
Fri, Jan 3, 02:08
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