Skip to content

Commit

Permalink
Fix build clang5 r292518 (C++ DR1310)
Browse files Browse the repository at this point in the history
  • Loading branch information
stek29 committed Nov 1, 2017
1 parent 7a8917e commit 0cacc90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OSX/libsecurity_codesigning/lib/policydb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ void setAssessment(bool masterSwitch)
{
MutableDictionary *prefsDict = MutableDictionary::CreateMutableDictionary(prefsFile);
if (prefsDict == NULL)
prefsDict = new MutableDictionary::MutableDictionary();
prefsDict = new MutableDictionary();
prefsDict->setValue(SP_ENABLE_KEY, masterSwitch ? SP_ENABLED : SP_DISABLED);
prefsDict->writePlistToFile(prefsFile);
delete prefsDict;
Expand Down

0 comments on commit 0cacc90

Please sign in to comment.