From cfab63a526e781a3fdb2f5cf1cad879bf2a98d91 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Fri, 04 Dec 2015 20:27:36 +0000
Subject: [PATCH] Fixed undefined kc1,kc2,kc3 warning (error) while compiling

---
 src/timestep.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/timestep.c b/src/timestep.c
index 315c1d1..59ff8c6 100644
--- a/src/timestep.c
+++ b/src/timestep.c
@@ -18,7 +18,7 @@
 
 ts_bool run_simulation(ts_vesicle *vesicle, ts_uint mcsweeps, ts_uint inititer, ts_uint iterations, ts_uint start_iteration){
 	ts_uint i, j,k,l,m;
-	ts_double r0,kc1,kc2,kc3,kc4;
+	ts_double r0,kc1=0,kc2=0,kc3=0,kc4=0;
 	ts_double l1,l2,l3,vmsr,bfsr, vmsrt, bfsrt;
 	ts_ulong epochtime;
 	FILE *fd1,*fd2=NULL;

--
Gitblit v1.9.3