Use explict field names in the static initialisation to make it more
robust to code change Fix card-myeid.c:44: warning: missing initializer card-myeid.c:44: warning: (near initialization for ‘myeid_drv.atr_map’) git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4213 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
f8fa636311
commit
a3177b727a
|
@ -38,9 +38,12 @@
|
|||
|
||||
static struct sc_card_operations myeid_ops;
|
||||
static struct sc_card_driver myeid_drv = {
|
||||
"MyEID cards with PKCS#15 applet",
|
||||
"myeid",
|
||||
&myeid_ops
|
||||
.name = "MyEID cards with PKCS#15 applet",
|
||||
.short_name = "myeid",
|
||||
.ops = &myeid_ops,
|
||||
.atr_map = NULL,
|
||||
.natrs = 0,
|
||||
.dll = NULL
|
||||
};
|
||||
|
||||
static const char *myeid_atrs[] = {
|
||||
|
|
Loading…
Reference in New Issue