Remove returns of wxEmptyString
This commit is contained in:
@@ -490,11 +490,11 @@ bool wxArrayString::operator==(const wxArrayString& a) const
|
||||
|
||||
wxString wxJoin(const wxArrayString& arr, const wxChar sep, const wxChar escape)
|
||||
{
|
||||
wxString str;
|
||||
|
||||
size_t count = arr.size();
|
||||
if ( count == 0 )
|
||||
return wxEmptyString;
|
||||
|
||||
wxString str;
|
||||
return str;
|
||||
|
||||
// pre-allocate memory using the estimation of the average length of the
|
||||
// strings in the given array: this is very imprecise, of course, but
|
||||
|
||||
Reference in New Issue
Block a user