浏览代码

ctl: remove return statement from void function

Spencer Thomason 9 年之前
父节点
当前提交
16e6bdf814
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 */