diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-03-16 08:33:07 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-03-16 09:15:49 +0000 |
commit | c7aee57724828c4b9d67deb930f09c494ff4d811 (patch) | |
tree | 86837f4abdc647e0d8cbbcddd7415227f64e695b /configmgr/source/configurationregistry.cxx | |
parent | 9070c1b0404fb72d2553f6fa8f702e70c0abb269 (diff) |
Adapt loplugin:implicitboolconversion to _G_STR_NONNULL
...from glib2-devel-2.76.0-1.fc38.x86_64, causing
> libreofficekit/source/gtk/lokdocview.cxx:390:28: error: implicit conversion (IntegralCast) from 'bool' to 'int' [loplugin:implicitboolconversion]
> pLOEvent->m_pCommand = g_strdup(pCommand);
> ^~~~~~~~~~~~~~~~~~
> /usr/include/glib-2.0/glib/gstrfuncs.h:212:35: note: expanded from macro 'g_strdup'
> const char *const __str = _G_STR_NONNULL (___str); \
> ^~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/glib-2.0/glib/gstrfuncs.h:157:34: note: expanded from macro '_G_STR_NONNULL'
> #define _G_STR_NONNULL(x) ((x) + !(x))
> ^~~~
Change-Id: Iec20b20992a61fd48155f338a10dc313411448f8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148948
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'configmgr/source/configurationregistry.cxx')
0 files changed, 0 insertions, 0 deletions