Remove useless variable in qemuDomainAssignAddresses
We do not need to propagate the exact return values and the only possible ones are 0 and -1 anyway. Remove the temporary variable and use the usual pattern: if (f() < 0) return -1;
Showing
想要评论请 注册 或 登录