blob: b5d5b678ea79a395ecfac4f0a22a6f43495650d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
diff --git a/DcpmPkg/cli/NvmDimmCli.c b/DcpmPkg/cli/NvmDimmCli.c
index 423151ec..8fef2da0 100644
--- a/DcpmPkg/cli/NvmDimmCli.c
+++ b/DcpmPkg/cli/NvmDimmCli.c
@@ -1027,8 +1027,7 @@ EFI_STATUS showHelp(struct Command *pCmd)
else {
// if Printer is not setup then may need to do special handling for ESX
if ((pPrinterCtx == NULL) &&
- (pCmd != NULL) &&
- (pCmd->options != NULL)) {
+ (pCmd != NULL)) {
for (Index = 0; Index < MAX_OPTIONS; Index++) {
if ((StrICmp(pCmd->options[Index].OptionName, OUTPUT_OPTION) == 0) ||
|