From 0750a8a118dc886a225a811dd9a976a05dcf94bc Mon Sep 17 00:00:00 2001 From: Brian Barrett Date: Tue, 21 Mar 2006 14:10:07 +0000 Subject: [PATCH] * fix (incorrect) GCC warning about using ret uninitialized. Bloody compilers. This commit was SVN r9353. --- ompi/mca/osc/pt2pt/osc_pt2pt_sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/mca/osc/pt2pt/osc_pt2pt_sync.c b/ompi/mca/osc/pt2pt/osc_pt2pt_sync.c index b6c9c114b6..c28a057e48 100644 --- a/ompi/mca/osc/pt2pt/osc_pt2pt_sync.c +++ b/ompi/mca/osc/pt2pt/osc_pt2pt_sync.c @@ -90,7 +90,7 @@ int ompi_osc_pt2pt_module_fence(int assert, ompi_win_t *win) { short incoming_reqs; - int ret, i; + int ret = OMPI_SUCCESS, i; if (0 != (assert & MPI_MODE_NOPRECEDE)) { int num_pending;