From c227d77c3305d346c73621ae1d71153a2e57c41a Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Sun, 27 Mar 2005 11:30:53 +0000 Subject: [PATCH] try to ensure that the warning about the warning is printed before the warning This commit was SVN r5045. --- test/class/ompi_list.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/class/ompi_list.c b/test/class/ompi_list.c index 4d27f9514c..ab8d09cfd5 100644 --- a/test/class/ompi_list.c +++ b/test/class/ompi_list.c @@ -265,6 +265,7 @@ int main(int argc, char **argv) /* try and remove a non existant element from the list - * testing debug code */ printf("This should generate a warning:\n"); + fflush(stdout); ele = (test_data_t *) ompi_list_remove_item(&list,(ompi_list_item_t *)(elements+indx)); if( ((test_data_t *)NULL) == ele ) {