summaryrefslogtreecommitdiff
path: root/neural.c
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2008-11-17 20:43:00 +0000
committerMatt Turner <mattst88@gmail.com>2008-11-17 20:43:00 +0000
commitd064ec35868720e0f29c1fe53a6e688333e71736 (patch)
tree3662aad3e5a9b536de44a3d85a8720ea06812ba9 /neural.c
parent10a5d62de08035803b5fadc5fcd32c873f8b1702 (diff)
Remove malloc return checks. Since they're in loops, they don't prevent memory from being leaked after the first iteration. Plus, when does malloc fail?
git-svn-id: svn://mattst88.com/svn/cleanbench/trunk@78 0d43b9a7-5ab2-4d7b-af9d-f64450cef757
Diffstat (limited to 'neural.c')
-rw-r--r--neural.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/neural.c b/neural.c
index 05e7c2b..2379056 100644
--- a/neural.c
+++ b/neural.c
@@ -116,7 +116,6 @@ static int read_data_file();
double
DoNNET(void)
{
-/* const char* context="CPU:NNET"; */ /* Since we never fprintf errors here, we don't need this */
clock_t total_time = 0;
int iterations = 0;
static bool is_adjusted = false;