From 4de603d28ce884fb2a3720b6d132465b6dcc98a9 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sun, 5 Aug 2012 13:49:37 +0200 Subject: [PATCH] Clang:Null pointer passed as an argument to a 'nonnull' parameter Change-Id: Ia07c50f4822af256b3b35f39f46dc442750c8439 --- vcl/unx/generic/app/i18n_wrp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcl/unx/generic/app/i18n_wrp.cxx b/vcl/unx/generic/app/i18n_wrp.cxx index 05dfd105535b..e152135bc914 100644 --- a/vcl/unx/generic/app/i18n_wrp.cxx +++ b/vcl/unx/generic/app/i18n_wrp.cxx @@ -235,7 +235,7 @@ Status XvaCloseIM(XIM) { Status s = False; - if (!g_dlmodule) + if (g_dlmodule) { /* assuming one XvaOpenIM call */ dlclose(g_dlmodule);