Permalink
Browse files

Removed pedantic from Makefile

  • Loading branch information...
1 parent dfb7b3b commit 5f7ae6321bcae3abf4e0be62aa00a9552a9ac966 @ozagordi ozagordi committed Feb 4, 2013
Showing with 5 additions and 5 deletions.
  1. +1 −1 Makefile
  2. +4 −4 b2w_src/b2w.c
View
@@ -5,7 +5,7 @@ SHELL = /bin/bash
hostname := $(shell hostname)
whoami := $(shell whoami)
host-type := $(shell uname)
-CCFLAGS = -pedantic -Wall -Wextra -O3# -ffast-math -funroll-loops# -m32 -DDEBUG
+CCFLAGS = -Wall -Wextra -O3# -pedantic
OLIBS =
CPP = g++
SUBDIRS = ./samtools
View
@@ -62,12 +62,12 @@ static int fetch_func1(const bam1_t *b, void *data)
int wSize; //window size
uint32_t Rstart, Rend; //read start and end
- Rstart=b->core.pos;
- Rend=bam_calend(&b->core, bam1_cigar(b));
- wSize=tmp->win;
+ Rstart = b->core.pos;
+ Rend = bam_calend(&b->core, bam1_cigar(b));
+ wSize = tmp->win;
int *cv=(int*)tmp->rLen+Rstart; //tracks nr of reads starting at ref pos
- *cv+=1;
+ *cv += 1;
if (*cv<tmp->max) { //limit coverage
if (Rstart <= tmp->beg && Rend >= tmp->end) { //calculate overlap

0 comments on commit 5f7ae63

Please sign in to comment.