X-Git-Url: http://git.nguyen.vg/gitweb/?p=SXSI%2Flibbp.git;a=blobdiff_plain;f=bp.c;fp=bp.c;h=f1aef19261795ecd32ccc14f4f5195f26c2b906f;hp=d9e85a2aa65bb5dc4ca196af91502b6117675e5e;hb=35d38c5681c54a22125452a2e43dc4b8305c588f;hpb=5e701a7deb86b9c9ee81f2134b91e839f90b09b0 diff --git a/bp.c b/bp.c index d9e85a2..f1aef19 100644 --- a/bp.c +++ b/bp.c @@ -446,7 +446,6 @@ void saveTree(bp *b, FILE *fp) { printf("Error: cannot save number of parentheses to file\n"); exit(1); } - if (fwrite(b->B, sizeof(pb), (b->n+D-1)/D, fp) != ((b->n+D-1)/D)) { printf("Error: cannot save parentheses sequence to file\n"); exit(1);