Skip to content
Snippets Groups Projects
Commit 539b46d8 authored by Alexandr's avatar Alexandr
Browse files

small alter.cc fix

parent db19532f
No related branches found
No related tags found
No related merge requests found
......@@ -1467,7 +1467,7 @@ grant_or_revoke(struct priv_def *priv)
struct user *grantee = user_cache_find(priv->grantee_id);
if (grantee == NULL)
return;
struct access *access;
struct access *access = NULL;
switch (priv->object_type) {
case SC_UNIVERSE:
access = &grantee->universal_access;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment