Skip to content
Snippets Groups Projects
Commit d1c2735e authored by valerio's avatar valerio
Browse files

Fix for gAuthorizaton error

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2598 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent 193de8fa
No related branches found
No related tags found
No related merge requests found
...@@ -45,8 +45,6 @@ bool AdminRights::Acquire() ...@@ -45,8 +45,6 @@ bool AdminRights::Acquire()
AuthorizationItem kActionRight = { "", 0, 0, 0 }; AuthorizationItem kActionRight = { "", 0, 0, 0 };
AuthorizationRights kRights = { 1, &kActionRight }; AuthorizationRights kRights = { 1, &kActionRight };
assert(gAuthorization != NULL);
// Request the application-specific right. // Request the application-specific right.
return noErr==AuthorizationCopyRights(auth_, &kRights, NULL, kFlags, NULL); return noErr==AuthorizationCopyRights(auth_, &kRights, NULL, kFlags, NULL);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment