Skip to content

Removing extraneous parentheses #135

Description

@johntkach

Using the HPSC toolchain flags an error due to extraneous parentheses. Minor edit to resolve.

[ 80%] Building C object apps/cs/CMakeFiles/cs.dir/fsw/src/cs_table_processing.c.o cs_table_processing.c:932:17: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality] 932 | if ((Result == CFE_TBL_INFO_UPDATED)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ cs_table_processing.c:932:17: note: remove extraneous parentheses around the comparison to silence this warning 932 | if ((Result == CFE_TBL_INFO_UPDATED)) | ~ ^ ~ cs_table_processing.c:932:17: note: use '=' to turn this equality comparison into an assignment 932 | if ((Result == CFE_TBL_INFO_UPDATED))

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions