diff options
author | Johnathan Corgan | 2010-08-04 18:54:55 -0700 |
---|---|---|
committer | Johnathan Corgan | 2010-08-04 18:54:55 -0700 |
commit | f6337c62931c1f12636bc4daa33f9f2bb066247c (patch) | |
tree | 34e8d46b9dfd532d1aa13d22529b21c9b5b20e49 /usrp2/host | |
parent | 62328b4e78e2df20bccb2983bbe7591f99ba013f (diff) | |
parent | d2888160c3fca8da2152f8690dda7ae40d9a9163 (diff) | |
download | gnuradio-f6337c62931c1f12636bc4daa33f9f2bb066247c.tar.gz gnuradio-f6337c62931c1f12636bc4daa33f9f2bb066247c.tar.bz2 gnuradio-f6337c62931c1f12636bc4daa33f9f2bb066247c.zip |
Merge branch 'maint'
* maint:
usrp2: fixes for gcc 4.5.0 compatibility
formatting change: move break statements
Fix unitialized variable pointed to by compiler warning
Diffstat (limited to 'usrp2/host')
-rw-r--r-- | usrp2/host/lib/usrp2.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usrp2/host/lib/usrp2.cc b/usrp2/host/lib/usrp2.cc index f0ee564be..0842482e4 100644 --- a/usrp2/host/lib/usrp2.cc +++ b/usrp2/host/lib/usrp2.cc @@ -38,9 +38,9 @@ namespace usrp2 { struct usrp_table_entry { // inteface + normalized mac addr ("eth0:01:23:45:67:89:ab") std::string key; - boost::weak_ptr<usrp2::usrp2> value; + boost::weak_ptr<usrp2> value; - usrp_table_entry(const std::string &_key, boost::weak_ptr<usrp2::usrp2> _value) + usrp_table_entry(const std::string &_key, boost::weak_ptr<usrp2> _value) : key(_key), value(_value) {} }; @@ -70,7 +70,7 @@ namespace usrp2 { // We don't have the USRP2 we're looking for // create a new one and stick it in the table. - usrp2::sptr r(new usrp2::usrp2(ifc, pr, rx_bufsize)); + usrp2::sptr r(new usrp2(ifc, pr, rx_bufsize)); usrp_table_entry t(key, r); s_table.push_back(t); |