Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dereference query pointers before checking to see if they're empty
This effectively did a check to see if the pointer was NULL, exactly what we did in the LHS of the and operator. This fixes the following messages of cppcheck: [src/modules/rlm_sql/rlm_sql.c:638]: (warning) Char literal compared with pointer 'inst.config.authorize_group_check_query'. Did you intend to dereference it? [src/modules/rlm_sql/rlm_sql.c:675]: (warning) Char literal compared with pointer 'inst.config.authorize_group_reply_query'. Did you intend to dereference it?
- Loading branch information