Skip to content

Commit

Permalink
Dont cast NULL pointers
Browse files Browse the repository at this point in the history
  • Loading branch information
mdehoon committed Jun 28, 2013
1 parent bbbcd17 commit 21cc455
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Bio/cpairwise2module.c
Expand Up @@ -240,14 +240,14 @@ static PyObject *cpairwise2__make_score_matrix_fast(
double match, mismatch;
int use_match_mismatch_scores;
int lenA, lenB;
double *score_matrix = (double *)NULL;
struct IndexList *trace_matrix = (struct IndexList *)NULL;
double *score_matrix = NULL;
struct IndexList *trace_matrix = NULL;
PyObject *py_score_matrix=NULL, *py_trace_matrix=NULL;

double *row_cache_score = (double *)NULL,
*col_cache_score = (double *)NULL;
struct IndexList *row_cache_index = (struct IndexList *)NULL,
*col_cache_index = (struct IndexList *)NULL;
double *row_cache_score = NULL,
*col_cache_score = NULL;
struct IndexList *row_cache_index = NULL,
*col_cache_index = NULL;

PyObject *py_retval = NULL;

Expand Down

0 comments on commit 21cc455

Please sign in to comment.