summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-08-05 13:49:37 +0200
committerJulien Nabet <serval2412@yahoo.fr>2012-08-05 13:51:09 +0200
commit4de603d28ce884fb2a3720b6d132465b6dcc98a9 (patch)
tree5ed475dca6975fe8ad2c113ec1987ef6bf29c128 /vcl/unx
parentbf68634a4ee34fb465cf35e019812b3ed48787a4 (diff)
Clang:Null pointer passed as an argument to a 'nonnull' parameter
Change-Id: Ia07c50f4822af256b3b35f39f46dc442750c8439
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/generic/app/i18n_wrp.cxx2
1 files changed, 1 insertions, 1 deletions
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);