Skip to content

Commit 07cf6c1

Browse files
committed
* cleanup
git-svn-id: https://poroz/svnad/wfl_mr/branches/dev/trunk/src/tools/CreateEmbedLangTransform@13647 0d26eecb-4107-0410-bdd6-a17e8e2aa929
1 parent 60243dd commit 07cf6c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CreateEmbedLangTransform/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ void HandleWindowsError(LPCTSTR func) {
2222
}
2323

2424
void HandleMsiError(UINT result, LPCTSTR func) {
25-
PMSIHANDLE error = MsiGetLastErrorRecord();
25+
PMSIHANDLE error{MsiGetLastErrorRecord()};
2626
if (error) {
2727
DWORD length{0u};
2828
auto status{MsiFormatRecord(0u, error, TEXT(""), &length)}; // get the length of the error message

0 commit comments

Comments
 (0)