Skip to content

Commit 39c2103

Browse files
fix for scan-build warning
1 parent a5405f3 commit 39c2103

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wh_auth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ int wh_Auth_CheckKeyAuthorization(whAuthContext* context, uint32_t key_id,
231231
uint16_t action)
232232
{
233233
uint16_t user_id;
234-
int rc;
234+
int rc = WH_ERROR_ACCESS;
235235
int i;
236236
whAuthUser* user;
237237

0 commit comments

Comments
 (0)