Set return value to FALSE (0) in estimate_dt in libxdrf.c
authorDavid van der Spoel <spoel@xray.bmc.uu.se>
Wed, 3 Oct 2012 15:14:33 +0000 (17:14 +0200)
committerDavid van der Spoel <spoel@xray.bmc.uu.se>
Thu, 4 Oct 2012 07:04:48 +0000 (09:04 +0200)
commitc5d23c84623fe9106a5da65e768c687ddfa33798
treeeabd34ad69f6a7429b4ce9af09e307b6ce9deb65
parent4280bcc37f312b23f4c2ef06f5b4f47658b3ca5a
Set return value to FALSE (0) in estimate_dt in libxdrf.c

To be on the safe side the function to estimate the time
step betwen frames was fixed such that the return value
bOK is always set even if the file was missing or empty.
In addition the function is made static since it is not
used outside the file.

Change-Id: I8706a23b7a198f9d0718f1bfcb4a7770b2e6e53c
include/xdrf.h
src/gmxlib/libxdrf.c