mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 14:02:57 +02:00
Remove unnecessary initializers for empty wxString
This commit is contained in:
@@ -1080,7 +1080,7 @@ wxString CommandManager::GetLabelWithDisabledAccel(const CommandListEntry *entry
|
||||
{
|
||||
wxString label = entry->label;
|
||||
#if 1
|
||||
wxString Accel = "";
|
||||
wxString Accel;
|
||||
do{
|
||||
if (!entry->key.empty())
|
||||
{
|
||||
@@ -1253,7 +1253,7 @@ void CommandManager::TellUserWhyDisallowed( const wxString & Name, CommandFlag f
|
||||
wxString reason = _("There was a problem with your last action. If you think\nthis is a bug, please tell us exactly where it occurred.");
|
||||
// The default title string is 'Disallowed'.
|
||||
wxString title = _("Disallowed");
|
||||
wxString helpPage ="";
|
||||
wxString helpPage;
|
||||
|
||||
auto missingFlags = flagsRequired & (~flagsGot );
|
||||
if( missingFlags & AudioIONotBusyFlag )
|
||||
|
@@ -136,7 +136,7 @@ void LispyCommandMessageTarget::EndStruct(){
|
||||
Update( ")" );
|
||||
}
|
||||
void LispyCommandMessageTarget::AddItem(const wxString &value, const wxString &name){
|
||||
wxString Padding = "";
|
||||
wxString Padding;
|
||||
if( name.empty() )
|
||||
Update( wxString::Format( "%s%s\"%s\"", (mCounts.back()>0)?" ":"", Padding, Escaped(value)));
|
||||
else
|
||||
|
@@ -77,7 +77,7 @@ wxString NormalizedKeyString::Display(bool usesSpecialChars) const
|
||||
|
||||
NormalizedKeyString KeyEventToKeyString(const wxKeyEvent & event)
|
||||
{
|
||||
wxString newStr = wxT("");
|
||||
wxString newStr;
|
||||
|
||||
long key = event.GetKeyCode();
|
||||
|
||||
|
Reference in New Issue
Block a user