projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/data/format.c (fmt_affix_free): Fix memory leak
[pspp]
/
tests
/
libpspp
/
abt-test.c
diff --git
a/tests/libpspp/abt-test.c
b/tests/libpspp/abt-test.c
index 8088f19cd93dcc188c7be9cf345fde40b1620eee..1b0d00998be621d3959a9f4c2a2b4e7eac5ad6d3 100644
(file)
--- a/
tests/libpspp/abt-test.c
+++ b/
tests/libpspp/abt-test.c
@@
-26,7
+26,6
@@
#include <libpspp/abt.h>
#include <libpspp/abt.h>
-#include <assert.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdio.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdio.h>
@@
-253,7
+252,7
@@
static struct element *
find_by_position (struct abt *abt, int position)
{
struct abt_node *p;
find_by_position (struct abt *abt, int position)
{
struct abt_node *p;
- for (p = abt->root; p != NULL;
)
+ for (p = abt->root; p != NULL;)
{
int p_pos = p->down[0] ? abt_node_to_element (p->down[0])->count : 0;
if (position == p_pos)
{
int p_pos = p->down[0] ? abt_node_to_element (p->down[0])->count : 0;
if (position == p_pos)