Silence some pedantic compilation warnings.

This commit is contained in:
Markus F.X.J. Oberhumer
2016-03-01 03:18:29 +01:00
parent 8dfee6dedd
commit 026671b3d5
6 changed files with 10 additions and 10 deletions

View File

@@ -94,9 +94,9 @@ SQRESULT sqstd_format(HSQUIRRELVM v,SQInteger nformatstringidx,SQInteger *outlen
if(n < 0) return -1;
SQInteger addlen = 0;
SQInteger valtype = 0;
const SQChar *ts;
SQInteger ti;
SQFloat tf;
const SQChar *ts = NULL;
SQInteger ti = 0;
SQFloat tf = 0;
switch(format[n]) {
case 's':
if(SQ_FAILED(sq_getstring(v,nparam,&ts)))