提交 6a12907d 编写于 作者: J Julio Faracco 提交者: John Ferlan

datatypes: removing unnecessary return statement.

There is a wrong 'return' statement after a 'goto' statement inside the
function virConnectCloseCallbackDataRegister(). This commit only removes
the 'return'.
Signed-off-by: NJulio Faracco <jcfaracco@gmail.com>
上级 0da4a635
......@@ -193,7 +193,6 @@ void virConnectCloseCallbackDataRegister(virConnectCloseCallbackDataPtr closeDat
VIR_WARN("Attempt to register callback on armed"
" close callback object %p", closeData);
goto cleanup;
return;
}
closeData->conn = virObjectRef(conn);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册