[PATCH 1/3] evaluate: Remove unnecessary spaces
From: Harsha Sharma
Date: Mon Oct 02 2017 - 03:35:14 EST
Code indent should use tabs wherever possible
Signed-off-by: Harsha Sharma <harshasharmaiitr@xxxxxxxxx>
---
src/evaluate.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/evaluate.c b/src/evaluate.c
index e767542..5624ca2 100644
--- a/src/evaluate.c
+++ b/src/evaluate.c
@@ -122,7 +122,7 @@ static int byteorder_conversion(struct eval_ctx *ctx, struct expr **expr,
return 0;
if (expr_basetype(*expr)->type != TYPE_INTEGER)
return expr_error(ctx->msgs, *expr,
- "Byteorder mismatch: expected %s, got %s",
+ "Byteorder mismatch: expected %s, got %s",
byteorder_names[byteorder],
byteorder_names[(*expr)->byteorder]);
@@ -1321,7 +1321,7 @@ static int expr_evaluate_hash(struct eval_ctx *ctx, struct expr **exprp)
return -1;
/* expr_evaluate_primary() sets the context to what to the input
- * expression to be hashed. Since this input is transformed to a 4 bytes
+ * expression to be hashed. Since this input is transformed to a 4 bytes
* integer, restore context to the datatype that results from hashing.
*/
__expr_set_context(&ctx->ectx, expr->dtype, expr->byteorder, expr->len,
@@ -1627,7 +1627,7 @@ static int expr_evaluate_relational(struct eval_ctx *ctx, struct expr **expr)
case EXPR_CONCAT:
return expr_binary_error(ctx->msgs, left, rel,
"Relational expression (%s) is undefined "
- "for %s expressions",
+ "for %s expressions",
expr_op_symbols[rel->op],
left->ops->name);
default:
@@ -1637,7 +1637,7 @@ static int expr_evaluate_relational(struct eval_ctx *ctx, struct expr **expr)
if (!expr_is_singleton(right))
return expr_binary_error(ctx->msgs, right, rel,
"Relational expression (%s) is undefined "
- "for %s expressions",
+ "for %s expressions",
expr_op_symbols[rel->op],
right->ops->name);
@@ -1659,7 +1659,7 @@ range:
case EXPR_CONCAT:
return expr_binary_error(ctx->msgs, left, rel,
"Relational expression (%s) is undefined"
- "for %s expressions",
+ "for %s expressions",
expr_op_symbols[rel->op],
left->ops->name);
default:
--
1.9.1