Browse code

bzero of matrices is unnecessary

John Hawthorn authored on 07/09/2014 01:55:02
Showing 1 changed files

  • match.c index 65a3d99..f55f954 100644
... ...
@@ -65,8 +65,6 @@ double calculate_score(const char *needle, const char *haystack, size_t *positio
65 65
 
66 66
 	score_t match_bonus[m];
67 67
 	score_t D[n][m], M[n][m];
68
-	bzero(D, sizeof(D));
69
-	bzero(M, sizeof(M));
70 68
 
71 69
 	/*
72 70
 	 * D[][] Stores the best score for this position ending with a match.