Declare the iterator variable outside the loop in curve_fitting.c

Change-Id: I4ce703c8d6a6deb3aebaccd3cd5d916c7aa4f92e
1 file changed