diff options
| author | Rob Mensching <rob@firegiant.com> | 2026-01-30 15:18:43 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2026-01-30 18:38:41 -0800 |
| commit | 7c3c2cad3c5e95fac151debc89c2f5629b4c6b21 (patch) | |
| tree | 6d43cdcef8d50a2c524b26681418cee425a39651 /src/burn/engine/msiengine.cpp | |
| parent | a16948df3c51f872e750798a967505a93b8439d5 (diff) | |
| download | wix-7c3c2cad3c5e95fac151debc89c2f5629b4c6b21.tar.gz wix-7c3c2cad3c5e95fac151debc89c2f5629b4c6b21.tar.bz2 wix-7c3c2cad3c5e95fac151debc89c2f5629b4c6b21.zip | |
Many small code quality fixes
Diffstat (limited to 'src/burn/engine/msiengine.cpp')
| -rw-r--r-- | src/burn/engine/msiengine.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/burn/engine/msiengine.cpp b/src/burn/engine/msiengine.cpp index 48ec0c81..a1379054 100644 --- a/src/burn/engine/msiengine.cpp +++ b/src/burn/engine/msiengine.cpp | |||
| @@ -2158,7 +2158,7 @@ static HRESULT ConcatFeatureActionProperties( | |||
| 2158 | 2158 | ||
| 2159 | if (sczAddLocal) | 2159 | if (sczAddLocal) |
| 2160 | { | 2160 | { |
| 2161 | hr = StrAllocFormatted(&scz, L" ADDLOCAL=\"%s\"", sczAddLocal, 0); | 2161 | hr = StrAllocFormatted(&scz, L" ADDLOCAL=\"%s\"", sczAddLocal); |
| 2162 | ExitOnFailure(hr, "Failed to format ADDLOCAL string."); | 2162 | ExitOnFailure(hr, "Failed to format ADDLOCAL string."); |
| 2163 | 2163 | ||
| 2164 | hr = StrAllocConcatSecure(psczArguments, scz, 0); | 2164 | hr = StrAllocConcatSecure(psczArguments, scz, 0); |
| @@ -2167,7 +2167,7 @@ static HRESULT ConcatFeatureActionProperties( | |||
| 2167 | 2167 | ||
| 2168 | if (sczAddSource) | 2168 | if (sczAddSource) |
| 2169 | { | 2169 | { |
| 2170 | hr = StrAllocFormatted(&scz, L" ADDSOURCE=\"%s\"", sczAddSource, 0); | 2170 | hr = StrAllocFormatted(&scz, L" ADDSOURCE=\"%s\"", sczAddSource); |
| 2171 | ExitOnFailure(hr, "Failed to format ADDSOURCE string."); | 2171 | ExitOnFailure(hr, "Failed to format ADDSOURCE string."); |
| 2172 | 2172 | ||
| 2173 | hr = StrAllocConcatSecure(psczArguments, scz, 0); | 2173 | hr = StrAllocConcatSecure(psczArguments, scz, 0); |
| @@ -2176,7 +2176,7 @@ static HRESULT ConcatFeatureActionProperties( | |||
| 2176 | 2176 | ||
| 2177 | if (sczAddDefault) | 2177 | if (sczAddDefault) |
| 2178 | { | 2178 | { |
| 2179 | hr = StrAllocFormatted(&scz, L" ADDDEFAULT=\"%s\"", sczAddDefault, 0); | 2179 | hr = StrAllocFormatted(&scz, L" ADDDEFAULT=\"%s\"", sczAddDefault); |
| 2180 | ExitOnFailure(hr, "Failed to format ADDDEFAULT string."); | 2180 | ExitOnFailure(hr, "Failed to format ADDDEFAULT string."); |
| 2181 | 2181 | ||
| 2182 | hr = StrAllocConcatSecure(psczArguments, scz, 0); | 2182 | hr = StrAllocConcatSecure(psczArguments, scz, 0); |
| @@ -2185,7 +2185,7 @@ static HRESULT ConcatFeatureActionProperties( | |||
| 2185 | 2185 | ||
| 2186 | if (sczReinstall) | 2186 | if (sczReinstall) |
| 2187 | { | 2187 | { |
| 2188 | hr = StrAllocFormatted(&scz, L" REINSTALL=\"%s\"", sczReinstall, 0); | 2188 | hr = StrAllocFormatted(&scz, L" REINSTALL=\"%s\"", sczReinstall); |
| 2189 | ExitOnFailure(hr, "Failed to format REINSTALL string."); | 2189 | ExitOnFailure(hr, "Failed to format REINSTALL string."); |
| 2190 | 2190 | ||
| 2191 | hr = StrAllocConcatSecure(psczArguments, scz, 0); | 2191 | hr = StrAllocConcatSecure(psczArguments, scz, 0); |
| @@ -2194,7 +2194,7 @@ static HRESULT ConcatFeatureActionProperties( | |||
| 2194 | 2194 | ||
| 2195 | if (sczAdvertise) | 2195 | if (sczAdvertise) |
| 2196 | { | 2196 | { |
| 2197 | hr = StrAllocFormatted(&scz, L" ADVERTISE=\"%s\"", sczAdvertise, 0); | 2197 | hr = StrAllocFormatted(&scz, L" ADVERTISE=\"%s\"", sczAdvertise); |
| 2198 | ExitOnFailure(hr, "Failed to format ADVERTISE string."); | 2198 | ExitOnFailure(hr, "Failed to format ADVERTISE string."); |
| 2199 | 2199 | ||
| 2200 | hr = StrAllocConcatSecure(psczArguments, scz, 0); | 2200 | hr = StrAllocConcatSecure(psczArguments, scz, 0); |
| @@ -2203,7 +2203,7 @@ static HRESULT ConcatFeatureActionProperties( | |||
| 2203 | 2203 | ||
| 2204 | if (sczRemove) | 2204 | if (sczRemove) |
| 2205 | { | 2205 | { |
| 2206 | hr = StrAllocFormatted(&scz, L" REMOVE=\"%s\"", sczRemove, 0); | 2206 | hr = StrAllocFormatted(&scz, L" REMOVE=\"%s\"", sczRemove); |
| 2207 | ExitOnFailure(hr, "Failed to format REMOVE string."); | 2207 | ExitOnFailure(hr, "Failed to format REMOVE string."); |
| 2208 | 2208 | ||
| 2209 | hr = StrAllocConcatSecure(psczArguments, scz, 0); | 2209 | hr = StrAllocConcatSecure(psczArguments, scz, 0); |
