Douglas E. Engert wrote:
Ludovic Rousseau wrote:
The compiler is right. The value dfpath is used but is never
uninitialized (unless some black magic is involved).
variable declared at line 217:
int dfpath;
and used at lines 308-309:
pin_info.path.value[2] = dfpath >> 8;
pin_info.path.value[3] = dfpath & 0xff;
I don't know how to solve the problem since I don't know what dfpath
is supposed to be.
Douglas, any idea as you are the author?
It was a holdover from the gemsafe module where the static path in the
pindata structure needed to be modified when copied to the pin_info.
With the PIV there is no way to access the pin via a path.
The pin_info.path is filled in by line 307 from a null path of "".
So the three lines can be deleted.
done
Cheers,
Nils
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel