summaryrefslogtreecommitdiff
path: root/delta.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-14 10:41:31 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-14 10:41:31 -0300
commit23161f1cbdea323b1b9015a7397e838928848a05 (patch)
treedc454a4af2e4db0282a54ee7cd49c0a8c121e02e /delta.c
parent760b8cd8419f3483ee4b696e744e0e0622bf6f9b (diff)
downloadeeshow-23161f1cbdea323b1b9015a7397e838928848a05.tar.gz
eeshow-23161f1cbdea323b1b9015a7397e838928848a05.tar.bz2
eeshow-23161f1cbdea323b1b9015a7397e838928848a05.zip
eeshow/delta.c (comp_fields_eq): remove redundant initialization
Diffstat (limited to 'delta.c')
-rw-r--r--delta.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/delta.c b/delta.c
index cde89c0..5243d4d 100644
--- a/delta.c
+++ b/delta.c
@@ -185,8 +185,8 @@ static bool comp_fields_eq(const struct comp_field *a,
static bool sheet_fields_eq(const struct sheet_field *a,
const struct sheet_field *b)
{
- const struct sheet_field *ta = a;
- const struct sheet_field *tb = b;
+ const struct sheet_field *ta;
+ const struct sheet_field *tb;
for (ta = a; ta; ta = ta->next) {
for (tb = b; tb; tb = tb->next) {