knownPointerToBool ftp://ftp.de.debian.org/debian/pool/main/c/cpr/cpr_1.12.0.orig.tar.gz head cpr-1.12.0/test/multiasync_tests.cpp:314:109: style: Pointer expression '[](cpr_pf_arg_t,cpr_pf_arg_t,cpr_pf_arg_t,cpr_pf_arg_t,intptr_t)->bool{synchro_env->fn_called.store(true);return true;}' converted to bool is always true. [knownPointerToBool] head cpr-1.12.0/test/multiasync_tests.cpp:343:109: style: Pointer expression '[](cpr_pf_arg_t,cpr_pf_arg_t,cpr_pf_arg_t,cpr_pf_arg_t,intptr_t)->bool{if(synchro_env->counter==0){const std::unique_lock l{synchro_env->test_cv_mutex};synchro_env->counter++;synchro_env->test_cv.notify_all();}else{synchro_env->counter++;}return true;}' converted to bool is always true. [knownPointerToBool] head cpr-1.12.0/test/multiasync_tests.cpp:375:109: style: Pointer expression '[](cpr_pf_arg_t,cpr_pf_arg_t,cpr_pf_arg_t,cpr_pf_arg_t,intptr_t)->bool{const std::unique_lock l{synchro_env->test_cv_mutex};synchro_env->counter++;synchro_env->test_cv.notify_all();return true;}' converted to bool is always true. [knownPointerToBool] head cpr-1.12.0/test/multiasync_tests.cpp:416:109: style: Pointer expression '[N](cpr_pf_arg_t,cpr_pf_arg_t,cpr_pf_arg_t,cpr_pf_arg_t,intptr_t)->bool{const unsigned long current_iteration{++(synchro_env->counter)};return current_iteration<=N;}' converted to bool is always true. [knownPointerToBool]