Skip to content

Commit 794bf25

Browse files
Update driver/apdu/pcsc.c
Co-authored-by: Coelacanthus <uwu@coelacanthus.name>
1 parent 28675e6 commit 794bf25

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

driver/apdu/pcsc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ static int pcsc_open_hCard_iter(struct pcsc_userdata *userdata, const int index,
138138
}
139139

140140
matched:
141+
{} // Workaround for label followed by a declaration in Clang (before C23)
141142
const int ret = SCardConnect(userdata->ctx, reader, SCARD_SHARE_EXCLUSIVE, SCARD_PROTOCOL_T0, &userdata->hCard,
142143
&dwActiveProtocol);
143144
if (ret != SCARD_S_SUCCESS) {

0 commit comments

Comments
 (0)