aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael West <michael.west@ettus.com>2013-10-28 12:35:11 -0700
committerMichael West <michael.west@ettus.com>2013-10-28 12:35:11 -0700
commitba81998639e1e3b74bfd925a49afd090e6924ba7 (patch)
tree2d3518d89c89bbf6892ccaab7c3604f774b05e91
parent0fd982e15fb503729b54693a02e0635700c51eee (diff)
downloaduhd-ba81998639e1e3b74bfd925a49afd090e6924ba7.tar.gz
uhd-ba81998639e1e3b74bfd925a49afd090e6924ba7.tar.bz2
uhd-ba81998639e1e3b74bfd925a49afd090e6924ba7.zip
CID 1104313: Fixed uninitialized scalar.
-rw-r--r--host/lib/usrp/b100/usb_zero_copy_wrapper.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/usrp/b100/usb_zero_copy_wrapper.cpp b/host/lib/usrp/b100/usb_zero_copy_wrapper.cpp
index 2096e4ef4..451cdae50 100644
--- a/host/lib/usrp/b100/usb_zero_copy_wrapper.cpp
+++ b/host/lib/usrp/b100/usb_zero_copy_wrapper.cpp
@@ -167,6 +167,7 @@ public:
usb_zero_copy_wrapper(zero_copy_if::sptr usb_zc, const size_t frame_boundary):
_internal_zc(usb_zc),
_frame_boundary(frame_boundary),
+ _last_recv_offset(0),
_next_recv_buff_index(0)
{
for (size_t i = 0; i < this->get_num_recv_frames(); i++){