Changeset: bdd83121df97 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=bdd83121df97
Modified Files:
        monetdb5/mal/mal_authorize.c
Branch: default
Log Message:

Remove unused variable.


diffs (20 lines):

diff --git a/monetdb5/mal/mal_authorize.c b/monetdb5/mal/mal_authorize.c
--- a/monetdb5/mal/mal_authorize.c
+++ b/monetdb5/mal/mal_authorize.c
@@ -403,7 +403,6 @@ AUTHchangeUsername(Client cntxt, str *ol
 {
        BUN p, q;
        str tmp;
-       oid id;
 
        rethrow("addUser", tmp, AUTHrequireAdminOrUser(cntxt, olduser));
 
@@ -423,8 +422,6 @@ AUTHchangeUsername(Client cntxt, str *ol
                throw(MAL, "changeUsername", "user '%s' already exists", 
*newuser);
 
        /* ok, just do it! (with force, because sql makes view over it) */
-       id = p;
-       assert(id == p);
        BUNinplace(user, p, *newuser, TRUE);
        AUTHcommit();
        return(MAL_SUCCEED);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to