Skip to content

Commit

Permalink
Fix Coverity issue CID 1518577 in TSVConnFd.cc. (#10750)
Browse files Browse the repository at this point in the history
  • Loading branch information
ywkaras authored Nov 10, 2023
1 parent 7244726 commit 2380286
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/gold_tests/pluginTest/TSVConnFd/TSVConnFd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -484,8 +484,8 @@ class Ramp_test : private Send_to_vconn
class _Send_recv : private Send_to_vconn, private Recv_from_vconn
{
public:
_Send_recv(TSVConn vconn_, std::shared_ptr<File_deleter> f_del, int n_groups_send, int n_group_bytes, bool allow_send_error,
int n_bytes_recv)
_Send_recv(TSVConn vconn_, std::shared_ptr<File_deleter> const &f_del, int n_groups_send, int n_group_bytes,
bool allow_send_error, int n_bytes_recv)
: Send_to_vconn{vconn_, n_groups_send * n_group_bytes}, Recv_from_vconn(vconn_), _f_del{f_del}
{
Dbg(dbg_ctl, "n_groups_send=%d n_group_bytes=%d allow_send_error=%c, n_bytes_recv=%d inst=%p", n_groups_send, n_group_bytes,
Expand Down

0 comments on commit 2380286

Please sign in to comment.