2019-12-09 18:41 EST


View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003030FSSCPpublic2014-04-13 00:50
ReporterEchelon9 
Assigned ToEchelon9 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
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.
Attached Files

-Relationships
+Relationships

-Notes

~0015700

Echelon9 (developer)

Resolved in commit 10557
+Notes

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