mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Mark function call as requiring void return; hint to tell coverity that we do not want the return value from this function (there's nothing we could do with it and the function should never fail with the input we provide).
This commit is contained in:
parent
5ea20c1571
commit
747f47d83d
1 changed files with 2 additions and 2 deletions
|
@ -3179,8 +3179,8 @@ lossyCString_u(GSStr self)
|
|||
unsigned l = 0;
|
||||
unsigned char *r = 0;
|
||||
|
||||
GSFromUnicode(&r, &l, self->_contents.u, self->_count, externalEncoding,
|
||||
NSDefaultMallocZone(), GSUniTemporary|GSUniTerminate);
|
||||
(void)GSFromUnicode(&r, &l, self->_contents.u, self->_count,
|
||||
externalEncoding, NSDefaultMallocZone(), GSUniTemporary|GSUniTerminate);
|
||||
return (const char*)r;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue