Skip to content

clang: warning: comparison of constant 160 with expression of type 'char' is always false #2156

Open
@khushbuparakh

Description

@khushbuparakh

Description

/src/actions/transformations/remove_whitespace.cc:66:44: warning: comparison of constant 160 with expression of type 'char' is always false

#define NBSP 160 // non breaking space char
std::string value(val);
if (isspace(value[i]) || (value[i] == NBSP)) {

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions