From c5d8095c7fa548a7199a03bf1f5d69d56202568a Mon Sep 17 00:00:00 2001 From: Spencer Thomason Date: Thu, 30 Jun 2016 13:22:57 -0700 Subject: [PATCH] ctl: remove return statement from void function (cherry picked from commit 16e6bdf814576e26a5f5f46bdfcb98ab1fd4e04d) --- modules/ctl/binrpc_run.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ctl/binrpc_run.c b/modules/ctl/binrpc_run.c index 3b9153e59c0..5bdd869cee7 100644 --- a/modules/ctl/binrpc_run.c +++ b/modules/ctl/binrpc_run.c @@ -486,7 +486,7 @@ static void rpc_fault(struct binrpc_ctx* ctx, int code, char* fmt, ...) va_end(ap); len++; /* vnsprintf doesn't include the terminating 0 */ - return _rpc_fault(ctx, code, buf, len); + _rpc_fault(ctx, code, buf, len); } /* Prepare the error reply without sending out the message */