diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2018-03-15 15:16:29 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2018-03-15 15:16:29 +0200 |
commit | a6d33abe1d17ea1d004c645cc27120c92d7aa8e6 (patch) | |
tree | a752e9c99368d017c7da7ab8e731cfb706979068 /lib/forlan.c | |
parent | 58a8936d30bbb18b8ad93fecfe3fe2210d1c18b2 (diff) | |
download | eclat-a6d33abe1d17ea1d004c645cc27120c92d7aa8e6.tar.gz eclat-a6d33abe1d17ea1d004c645cc27120c92d7aa8e6.tar.bz2 |
Minor fixes
Diffstat (limited to 'lib/forlan.c')
-rw-r--r-- | lib/forlan.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/forlan.c b/lib/forlan.c index 977271d..9fc80cb 100644 --- a/lib/forlan.c +++ b/lib/forlan.c @@ -1,5 +1,5 @@ /* This file is part of Eclat. - Copyright (C) 2012-2015 Sergey Poznyakoff. + Copyright (C) 2012-2018 Sergey Poznyakoff. Eclat is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -979,10 +979,10 @@ func_sort(forlan_eval_env_t env, struct grecs_list *list) forlan_compar = forlan_compar_string; forlan_sort_reverse = 0; - if (ep = list->head->next) { + if ((ep = list->head->next)) { t = ep->data; forlan_sort_key = t->v.string; - if (ep = ep->next) { + if ((ep = ep->next)) { char *p; t = ep->data; |