From a03c1f742db762e7d7b50dca12192b7f9500ab88 Mon Sep 17 00:00:00 2001 From: James Laird Date: Thu, 24 Aug 2006 10:05:24 -0500 Subject: [svn-r12625] Make sure that a return value in H5Fget_intent is initialized correctly. --- src/H5F.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/H5F.c b/src/H5F.c index cb24a4a..40fc45f 100644 --- a/src/H5F.c +++ b/src/H5F.c @@ -2750,7 +2750,7 @@ herr_t H5Fget_intent(hid_t file_id, unsigned *intent_flags) { H5F_t * file = NULL; - herr_t ret_value; + herr_t ret_value=SUCCEED; FUNC_ENTER_API(H5Fget_intent, FAIL) if (NULL==(file=H5I_object_verify(file_id, H5I_FILE))) -- cgit v0.12