Changeset: ecbfa7f49a2e for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=ecbfa7f49a2e
Modified Files:
        sql/backends/monet5/bam/bam_lib.c
Branch: bamloader
Log Message:

Initialize BAT pointers to NULL, compiler does not like it otherwise


diffs (12 lines):

diff --git a/sql/backends/monet5/bam/bam_lib.c 
b/sql/backends/monet5/bam/bam_lib.c
--- a/sql/backends/monet5/bam/bam_lib.c
+++ b/sql/backends/monet5/bam/bam_lib.c
@@ -401,7 +401,7 @@ seq_length_bat(bat * ret, bat * bid)
 str
 seq_char_bat(bat * ret, int * ref_pos, bat * alg_seq, bat * alg_pos, bat * 
alg_cigar)
 {
-       BAT *seqs, *poss, *refs, *cigars, *result;
+       BAT *seqs = NULL, *poss = NULL, *refs = NULL, *cigars = NULL, *result = 
NULL;
        BUN ref= 0, seq = 0, pos = 0, cigar = 0, seq_end = 0;
        BATiter ref_it, seq_it, pos_it, cigar_it;
 
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to