1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-05-20 20:05:18 +02:00

Fix some compiler warnings

This commit is contained in:
Arun Sharma 2012-08-04 12:48:56 -07:00
parent 5e854a4103
commit 814bd79fb1
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
so we simply defer to glibc siglongjmp here. */
#define siglongjmp __nonworking_siglongjmp
static void siglongjmp (sigjmp_buf env, int val);
static void siglongjmp (sigjmp_buf env, int val) UNUSED;
#endif
#endif /* __GLIBC_PREREQ */

View file

@ -135,7 +135,7 @@ static void verror_msg_helper(const char *s,
if (flags & LOGMODE_STDIO)
{
fflush(stdout);
write(STDERR_FILENO, msg, used + msgeol_len);
used += write(STDERR_FILENO, msg, used + msgeol_len);
}
msg[used] = '\0'; /* remove msg_eol (usually "\n") */
if (flags & LOGMODE_SYSLOG)