On 8/2/2013 12:52, Hugh McMaster wrote:
case REG_BINARY:
case REG_NONE:
pValue = value;
for (i=0; i<valueSize; i++, pValue++)
reg_printfW(formatXW, *pValue);
break;
There's no need for separate variable here nor for incrementing pointer.
The incrementing pointer is needed because the 'value' is a Byte array. But the separate variable is not needed.
Yes, so value[i] will do the same.