Skip to content

Commit 1c7dc38

Browse files
committed
Make sure the enableASAN option is properly initialized.
1 parent 059d699 commit 1c7dc38

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Options.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Options::Options(const wstring &rootDirectory)
1010
#else
1111
architecture=Architecture::x64;
1212
#endif
13+
enableASAN=FALSE;
1314
enableDpc=TRUE;
1415
excludeDeprecated=TRUE;
1516
#ifdef DEBUG

src/Options.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,14 @@ class Options
2626
Options(const wstring &rootDirectory);
2727

2828
Architecture architecture;
29-
BOOL enableDpc;
3029
BOOL enableASAN;
30+
BOOL enableDpc;
3131
BOOL excludeDeprecated;
3232
BOOL includeIncompatibleLicense;
3333
BOOL includeNonWindows;
3434
BOOL includeOptional;
3535
BOOL installedSupport;
36+
BOOL isImageMagick7;
3637
BOOL isStaticBuild;
3738
BOOL linkRuntime;
3839
BOOL onlyMagick;
@@ -42,7 +43,6 @@ class Options
4243
BOOL useHDRI;
4344
BOOL useOpenCL;
4445
BOOL useOpenMP;
45-
bool isImageMagick7;
4646
VisualStudioVersion visualStudioVersion;
4747
BOOL zeroConfigurationSupport;
4848

0 commit comments

Comments
 (0)