Hi,
Szakáts Viktor wrote:
Right now these are the MSVC warnings (last two may
be important):
mysqldd.c(429) : warning C4701: potentially uninitialized local variable
'pItemEof' used
Yes, this could be important. Actually, I left comment about it a few
dozens lines above warning place. I can find an answer in 10 minutes,
but I hope Przemek will answer in a second, so I'll ask it here:
When pArea->uiFieldCount is greater than zero on entry to RDD open()
method?
mysqldd.c(353) : warning C4701: potentially uninitialized local variable
'pFieldInfo' used
This should not be a problem, since pFieldInfo.uiType is uninitialiased
only if previous switch() sentence uses default clause. But in this case
bError is TRUE, and switch( pFieldInfo.uiType ) is not executed at all.
We may pacify MSVC by adding
pFieldInfo.uiType = 0;
to default clause of before the first switch(). Please test if this helps.
BTW, I see you've found a lot of unused variables in my code using MSVC.
BCC55 also has this warning, but it is switched off by default.
Sometimes I think that adding "-wuse" command line option will be a good
thing.
Best regards,
Mindaugas
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour