Skip to content

Commit

Permalink
Fixes #2146 by correcting #if
Browse files Browse the repository at this point in the history
  • Loading branch information
LeStarch authored Oct 13, 2023
1 parent aa701dd commit a28bd0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Fw/Types/PolyType.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ namespace Fw {
case TYPE_PTR:
valIsEqual = (this->m_val.ptrVal == other.m_val.ptrVal);
break;
#if FW_HAS_64_BIT
#if FW_HAS_F64

Check notice

Code scanning / CodeQL

Conditional compilation Note

Use of conditional compilation must be kept to a minimum.
case TYPE_F64: // fall through, shouldn't test floating point
#endif
case TYPE_F32: // fall through, shouldn't test floating point
Expand Down

0 comments on commit a28bd0c

Please sign in to comment.