Skip to content

Commit eda3efc

Browse files
committed
fix: Use UNKNOWN directly in the Format string.
1 parent c338485 commit eda3efc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/MPCTestAPI/MPCTestAPIDlg.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ LPCTSTR GetMPCCommandName(MPCAPI_COMMAND nCmd)
5858
// Missing a COMMAND from MpcApi.h file
5959
static CString strResult;
6060
LPCTSTR pszName = nullptr;
61-
pszName = _T("UNKNOWN");
62-
strResult.Format(_T("%s (0x%08X)"), pszName, (unsigned int)nCmd);
61+
strResult.Format(_T("%s (0x%08X)"), _T("UNKNOWN"), (unsigned int)nCmd);
6362
return strResult;
6463
}
6564
}

0 commit comments

Comments
 (0)