diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-09-02 09:45:02 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-09-02 11:06:00 +0100 |
commit | e753cd98a02c00d0bf55a7ae8e83a65367f39595 (patch) | |
tree | 79619e2d43a4035230ca497f02861f14fc54401b /unoxml | |
parent | b4f2aff5add027bf9155ee9fee9aaff79986821a (diff) |
coverity#1027278 silence Unchecked return value
Change-Id: I3f2aa0393876a146ed291ad9e10575312516527f
Diffstat (limited to 'unoxml')
-rw-r--r-- | unoxml/source/xpath/xpathapi.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unoxml/source/xpath/xpathapi.cxx b/unoxml/source/xpath/xpathapi.cxx index cd3b915b1606..345623241a3f 100644 --- a/unoxml/source/xpath/xpathapi.cxx +++ b/unoxml/source/xpath/xpathapi.cxx @@ -132,7 +132,7 @@ namespace XPath ouri = OUStringToOString(i->second, RTL_TEXTENCODING_UTF8); xmlChar const *p = reinterpret_cast<xmlChar const *>(oprefix.getStr()); xmlChar const *u = reinterpret_cast<xmlChar const *>(ouri.getStr()); - xmlXPathRegisterNs(ctx, p, u); + (void)xmlXPathRegisterNs(ctx, p, u); ++i; } } |