Details
-
Type:
False-Positive
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 6.0
-
Fix Version/s: 6.29, Level: Easy
-
Component/s: C, Objective-C
-
Labels:None
Description
Here is a false positive;
// Some comments here int f(); int g(); void test() { // raises a FP (void)( f() || g() ); }
Attachments
Issue Links
- relates to
-
RSPEC-851 The value of a complex expression should only be cast to a type that is narrower and of the same signedness as the underlying type of the expression
- Active