mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-13 14:13:32 +02:00
Remove unnecessary initializers for empty wxString
This commit is contained in:
@@ -152,7 +152,7 @@ void Importer::ReadImportItems()
|
||||
*/
|
||||
for (item_counter = 0; true; item_counter++)
|
||||
{
|
||||
wxString condition, filters, used_filters, unused_filters = wxEmptyString, extensions, mime_types = wxEmptyString;
|
||||
wxString condition, filters, used_filters, unused_filters, extensions, mime_types;
|
||||
item_name.Printf (wxT("/ExtImportItems/Item%d"), item_counter);
|
||||
/* Break at first non-existent item */
|
||||
if (!gPrefs->Read(item_name, &item_value))
|
||||
|
@@ -439,7 +439,7 @@ bool FFmpegImportFileHandle::InitCodecs()
|
||||
duration = sc->m_stream->duration * sc->m_stream->time_base.num / sc->m_stream->time_base.den;
|
||||
else
|
||||
duration = mFormatContext->duration / AV_TIME_BASE;
|
||||
wxString bitrate = wxT("");
|
||||
wxString bitrate;
|
||||
if (sc->m_codecCtx->bit_rate > 0)
|
||||
bitrate.Printf(wxT("%d"),(int)sc->m_codecCtx->bit_rate);
|
||||
else
|
||||
|
@@ -511,7 +511,7 @@ void QTImportFileHandle::AddMetadata(Tags *tags)
|
||||
if (err != noErr)
|
||||
continue;
|
||||
|
||||
wxString v = wxT("");
|
||||
wxString v;
|
||||
|
||||
switch (dataType)
|
||||
{
|
||||
|
Reference in New Issue
Block a user