skip sync
authorVolker Birk <vb@pep.foundation>
Sun, 21 Oct 2018 13:24:55 +0200
branchsync
changeset 3106c99412ad3e8f
parent 3105 d087d038ca66
child 3107 f8403c4ecba7
skip
build-windows/pEpEngine.vcxproj
src/pEpEngine.c
     1.1 --- a/build-windows/pEpEngine.vcxproj	Sun Oct 21 12:46:20 2018 +0200
     1.2 +++ b/build-windows/pEpEngine.vcxproj	Sun Oct 21 13:24:55 2018 +0200
     1.3 @@ -42,7 +42,7 @@
     1.4    <PropertyGroup Label="UserMacros" />
     1.5    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
     1.6      <LinkIncremental>true</LinkIncremental>
     1.7 -    <RunCodeAnalysis>false</RunCodeAnalysis>
     1.8 +    <RunCodeAnalysis>true</RunCodeAnalysis>
     1.9      <IncludePath>$(ProjectDir)\..\..\libetpan\build-windows\include;C:\Program Files %28x86%29\GnuPG\include;$(IncludePath);$(ProjectDir)\asn.1;%ASN1C%\share\asn1c</IncludePath>
    1.10      <LibraryPath>$(ProjectDir)\..\..\libetpan\build-windows\Debug;$(LibraryPath)</LibraryPath>
    1.11      <PreBuildEventUseInBuild>true</PreBuildEventUseInBuild>
    1.12 @@ -58,7 +58,7 @@
    1.13      <PreLinkEventUseInBuild>true</PreLinkEventUseInBuild>
    1.14      <PostBuildEventUseInBuild>true</PostBuildEventUseInBuild>
    1.15      <CodeAnalysisRuleSet>C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Static Analysis Tools\Rule Sets\NativeRecommendedRules.ruleset</CodeAnalysisRuleSet>
    1.16 -    <RunCodeAnalysis>false</RunCodeAnalysis>
    1.17 +    <RunCodeAnalysis>true</RunCodeAnalysis>
    1.18    </PropertyGroup>
    1.19    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    1.20      <ClCompile>
    1.21 @@ -67,7 +67,7 @@
    1.22        <Optimization>Disabled</Optimization>
    1.23        <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;PEPENGINE_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    1.24        <SDLCheck>true</SDLCheck>
    1.25 -      <EnablePREfast>false</EnablePREfast>
    1.26 +      <EnablePREfast>true</EnablePREfast>
    1.27        <AdditionalIncludeDirectories>$(SolutionDir)Tools\asn1c\share\asn1c;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    1.28        <CompileAs>Default</CompileAs>
    1.29      </ClCompile>
    1.30 @@ -98,7 +98,7 @@
    1.31        <CompileAs>Default</CompileAs>
    1.32        <MultiProcessorCompilation>true</MultiProcessorCompilation>
    1.33        <ControlFlowGuard>Guard</ControlFlowGuard>
    1.34 -      <EnablePREfast>false</EnablePREfast>
    1.35 +      <EnablePREfast>true</EnablePREfast>
    1.36      </ClCompile>
    1.37      <Link>
    1.38        <SubSystem>Windows</SubSystem>
     2.1 --- a/src/pEpEngine.c	Sun Oct 21 12:46:20 2018 +0200
     2.2 +++ b/src/pEpEngine.c	Sun Oct 21 13:24:55 2018 +0200
     2.3 @@ -2002,7 +2002,6 @@
     2.4          default:
     2.5              // Technically true, given how we find it, but FIXME we need a more descriptive error
     2.6              status = PEP_CANNOT_FIND_IDENTITY;
     2.7 -            *userid = NULL;
     2.8      }
     2.9  
    2.10      *userid = retval;