Browse Source

ctl: remove return statement from void function

Spencer Thomason 9 years ago
parent
commit
16e6bdf814
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/ctl/binrpc_run.c

+ 1 - 1
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 */