Silence all compiler warnings from QtCreator.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3306 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor
2013-05-23 15:05:16 +00:00
parent 9321b6da6d
commit 5dfaa1aba0
4 changed files with 8 additions and 4 deletions
+2 -1
View File
@@ -126,7 +126,7 @@ int ptt(int nport, int ntx, int* iptt, int* nopen)
#ifdef WIN32
static HANDLE hFile;
char s[10];
int i3=1,i4=1,i5=1,i6=1,i9=1,i00=1;
int i3=1,i4=1,i5=1,i6=1,i9=1,i00=1; //Defs to silence compiler warning
if(nport==0) {
*iptt=ntx;
@@ -159,6 +159,7 @@ int ptt(int nport, int ntx, int* iptt, int* nopen)
*iptt=0;
*nopen=0;
}
if((i3+i4+i5+i6+i9+i00)==-999) return 1; //Silence compiler warning
return 0;
#endif
}