Fix latent error with uninitialize variable

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5056 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2015-03-14 22:19:22 +00:00
parent bd0ae24aba
commit 6b3acf6c4e

View File

@ -5,7 +5,7 @@
QString DecodedText::CQersCall() QString DecodedText::CQersCall()
{ {
// extract the CQer's call TODO: does this work with all call formats? // extract the CQer's call TODO: does this work with all call formats?
int s1; int s1 {0};
int position; int position;
if ((position = _string.indexOf (" CQ DX ")) >= 0) if ((position = _string.indexOf (" CQ DX ")) >= 0)
{ {