Skip to content

Commit bf03150

Browse files
authored
Merge pull request #1304 from joe-spall/main
Fixes SpbTestTool build by tagging parameter as unreferenced
2 parents fbfe31e + 0d7d36b commit bf03150

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

exclusions.csv

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ network\trans\WFPSampler,Debug|ARM64,,22621,Only NI: Only ARM: Fails to build on
66
prm,*,,22621,Only NI: Not supported on NI.
77
powerlimit\plclient,*,,22621,Only NI: Not supported on NI.
88
powerlimit\plpolicy,*,,22621,Only NI: Not supported on NI.
9-
spb\spbtesttool,*,,26100,"failure introduced in VS17.14, suppressed until fix"
109
general\pcidrv,*,,26100,"failure introduced in VS17.14, suppressed until fix"
1110
serial\serial,*,,26100,"failure introduced in VS17.14, suppressed until fix"
1211
network\wlan\wdi,*,,26100,"failure introduced in VS17.14, suppressed until fix"

spb/SpbTestTool/exe/command.h

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ class COpenCommand : public CCommand
183183
_In_opt_ string Tag
184184
) : CCommand("open", Parameters)
185185
{
186+
UNREFERENCED_PARAMETER(Tag);
187+
186188
return;
187189
}
188190

@@ -208,6 +210,8 @@ class CCloseCommand : public CCommand
208210
_In_opt_ string Tag
209211
) : CCommand("close", Parameters)
210212
{
213+
UNREFERENCED_PARAMETER(Tag);
214+
211215
return;
212216
}
213217

@@ -233,6 +237,8 @@ class CLockCommand : public CCommand
233237
_In_opt_ string Tag
234238
) : CCommand("lock", Parameters)
235239
{
240+
UNREFERENCED_PARAMETER(Tag);
241+
236242
return;
237243
}
238244

@@ -258,6 +264,8 @@ class CUnlockCommand : public CCommand
258264
_In_opt_ string Tag
259265
) : CCommand("unlock", Parameters)
260266
{
267+
UNREFERENCED_PARAMETER(Tag);
268+
261269
return;
262270
}
263271

@@ -283,6 +291,8 @@ class CLockConnectionCommand : public CCommand
283291
_In_opt_ string Tag
284292
) : CCommand("lockconn", Parameters)
285293
{
294+
UNREFERENCED_PARAMETER(Tag);
295+
286296
return;
287297
}
288298

@@ -308,6 +318,8 @@ class CUnlockConnectionCommand : public CCommand
308318
_In_opt_ string Tag
309319
) : CCommand("unlockconn", Parameters)
310320
{
321+
UNREFERENCED_PARAMETER(Tag);
322+
311323
return;
312324
}
313325

@@ -335,6 +347,8 @@ class CReadCommand : public CCommand
335347
_In_opt_ string Tag
336348
) : CCommand("read", Parameters)
337349
{
350+
UNREFERENCED_PARAMETER(Tag);
351+
338352
return;
339353
}
340354

@@ -392,6 +406,8 @@ class CWriteCommand : public CCommand
392406
_In_opt_ string Tag
393407
) : CCommand("write", Parameters)
394408
{
409+
UNREFERENCED_PARAMETER(Tag);
410+
395411
return;
396412
}
397413

@@ -446,6 +462,8 @@ class CWriteReadCommand : public CCommand
446462
_In_opt_ string Tag
447463
) : CCommand("writeread", Parameters)
448464
{
465+
UNREFERENCED_PARAMETER(Tag);
466+
449467
WriteBuffer = NULL;
450468
return;
451469
}
@@ -524,6 +542,8 @@ class CFullDuplexCommand : public CCommand
524542
_In_opt_ string Tag
525543
) : CCommand("fullduplex", Parameters)
526544
{
545+
UNREFERENCED_PARAMETER(Tag);
546+
527547
WriteBuffer = NULL;
528548
return;
529549
}
@@ -597,6 +617,8 @@ class CSignalInterruptCommand : public CCommand
597617
_In_opt_ string Tag
598618
) : CCommand("signal", Parameters)
599619
{
620+
UNREFERENCED_PARAMETER(Tag);
621+
600622
return;
601623
}
602624

@@ -622,6 +644,8 @@ class CWaitOnInterruptCommand : public CCommand
622644
_In_opt_ string Tag
623645
) : CCommand("waitoninterrupt", Parameters)
624646
{
647+
UNREFERENCED_PARAMETER(Tag);
648+
625649
return;
626650
}
627651

0 commit comments

Comments
 (0)