From: Dragos Oancea Date: Wed, 12 Feb 2020 00:49:17 +0000 (+0000) Subject: [sofia-sip] scan-build: Value stored to 'phrase' is never read - auth_check_digest() X-Git-Tag: v1.10.3^2~200^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=828a668458575243d38edaad13047b5667d36d3d;p=thirdparty%2Ffreeswitch.git [sofia-sip] scan-build: Value stored to 'phrase' is never read - auth_check_digest() --- diff --git a/libs/sofia-sip/libsofia-sip-ua/iptsec/auth_module.c b/libs/sofia-sip/libsofia-sip-ua/iptsec/auth_module.c index 9d29957cf0..8d121faeec 100644 --- a/libs/sofia-sip/libsofia-sip-ua/iptsec/auth_module.c +++ b/libs/sofia-sip/libsofia-sip-ua/iptsec/auth_module.c @@ -690,8 +690,6 @@ void auth_check_digest(auth_mod_t *am, return; } - phrase = "Bad authorization"; - #define PA "Authorization missing " if ((!ar->ar_username && (phrase = PA "username")) ||