View Issue Details

IDProjectCategoryView StatusLast Update
0003030FSSCPpublic2014-04-13 04:50
ReporterEchelon9 Assigned ToEchelon9  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.7.0 
Target Version3.7.1Fixed in Version3.7.1 
Summary0003030: Clang warning: semantic issue, '&&' within '||' in gr_[re|un]size_screen_pos() and gr_[re|un]size_screen_posf()
DescriptionThese four functions follow the same pattern. Clang identifies a semantic issue in the order of precedence within the opening if conditional.

    if ( resize_mode == GR_RESIZE_NONE || !gr_screen.custom_size && (gr_screen.rendering_to_texture == -1) ) {
        return false;
    }

Clang suggests resolution by wrapping the second and third components in parentheses.
Steps To Reproducen/a
Additional Informationn/a
TagsNo tags attached.

Activities

Echelon9

2014-04-13 04:50

developer   ~0015700

Resolved in commit 10557

Issue History

Date Modified Username Field Change
2014-04-13 04:37 Echelon9 New Issue
2014-04-13 04:37 Echelon9 Status new => assigned
2014-04-13 04:37 Echelon9 Assigned To => Echelon9
2014-04-13 04:50 Echelon9 Note Added: 0015700
2014-04-13 04:50 Echelon9 Status assigned => resolved
2014-04-13 04:50 Echelon9 Fixed in Version => 3.7.1
2014-04-13 04:50 Echelon9 Resolution open => fixed