Bug 62549

Summary: httpd-2.4.34: 8 * Redundant condition
Product: Apache httpd-2 Reporter: David Binderman <dcb314>
Component: CoreAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: RESOLVED FIXED    
Severity: normal CC: cbarbara
Priority: P2    
Version: 2.5-HEAD   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

Description David Binderman 2018-07-17 10:46:30 UTC
[httpd-2.4.34/modules/cache/cache_util.c:713]: (style) Redundant condition: warn_head!=NULL. 'A || (!A && B)' is equivalent to 'A || B'
[httpd-2.4.34/modules/cache/cache_util.c:732]: (style) Redundant condition: warn_head!=NULL. 'A || (!A && B)' is equivalent to 'A || B'
[httpd-2.4.34/modules/cache/cache_util.c:789]: (style) Redundant condition: warn_head!=NULL. 'A || (!A && B)' is equivalent to 'A || B'
[httpd-2.4.34/modules/cache/mod_cache.c:1904]: (style) Redundant condition: warn_head!=NULL. 'A || (!A && B)' is equivalent to 'A || B'
[httpd-2.4.34/modules/cache/mod_cache.c:912]: (style) Redundant condition: warn_head!=NULL. 'A || (!A && B)' is equivalent to 'A || B'
[httpd-2.4.34/modules/filters/mod_ext_filter.c:164]: (style) Redundant condition: **args=='"'. '**args!='"' || (**args=='"' && escaping)' is equivalent to '**args!='"' || escaping'
[httpd-2.4.34/server/mpm/netware/mpm_netware.c:1209]: (style) Redundant condition: If 'EXPR == ' '', the comparison 'EXPR' is always true.
[httpd-2.4.34/server/util.c:853]: (style) Redundant condition: If 'EXPR == '\\'', the comparison 'EXPR' is always true.
Comment 1 Yann Ylavic 2018-08-13 12:55:01 UTC
Thanks, addressed in r1837941.