Skip to content

Commit

Permalink
[usrloc] fix warning caused by uninitialised variable usage
Browse files Browse the repository at this point in the history
  • Loading branch information
ionutrazvanionita committed Feb 21, 2017
1 parent 649dde4 commit 6c45ff0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/usrloc/udomain.c
Expand Up @@ -655,6 +655,9 @@ int preload_udomain(db_con_t* _c, udomain_t* _d)
} else if (ret < 0) {
unlock_udomain(_d, &user);
goto error;
} else {
/* record found */
sl = r->aorhash&(_d->size-1);
}

if ((unsigned short)r->aorhash != aorhash) {
Expand Down

0 comments on commit 6c45ff0

Please sign in to comment.