ATL wizard generated Code question
I got this question while reading the source code of the VC 6.0 wizard-generated provider code.
Question:
In the ATL wizard generated code, there are more that one place that a variable forms an entire statement.
e.g. In the IRowsetImpl::GetData(),
...
BOOL bProvOwn = pBindCur->dwMemOwner == DBMEMOWNER_PROVIDEROWNED;
bProvOwn;
...
What does the statement, "bProvOwn;" do in this case? It may be a general C++ question but I hope someone will have an answer.
Thanks
Michael Chan