Remove unnecesary clearing of local variable in EngineControl
authorTim Mayberry <mojofunk@gmail.com>
Mon, 10 Aug 2015 23:43:56 +0000 (09:43 +1000)
committerTim Mayberry <mojofunk@gmail.com>
Mon, 10 Aug 2015 23:46:46 +0000 (09:46 +1000)
gtk2_ardour/engine_dialog.cc

index 521e067217394b15ad18a0a748cb1b44f2cb33e3..f398209563c4ccb41855a6eaf7d0c07b085c7e88 100644 (file)
@@ -1190,7 +1190,7 @@ EngineControl::set_buffersize_popdown_strings (const std::string& device_name)
                bs.push_back (4096);
                bs.push_back (8192);
        }
-       s.clear ();
+
        for (vector<uint32_t>::const_iterator x = bs.begin(); x != bs.end(); ++x) {
                s.push_back (bufsize_as_string (*x));
        }