From 56f235345d7c01385dca7601cdeb7c9e1cbec544 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 4 May 2005 11:05:11 +0000 Subject: [PATCH] * cygerrno.h (__set_errno): Remove useless parentheses. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/cygerrno.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 7d1b9942d..a8383c564 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2005-05-04 Corinna Vinschen + + * cygerrno.h (__set_errno): Remove useless parentheses. + 2005-05-04 Corinna Vinschen * cygerrno.h (__set_errno): Define as inline function here. diff --git a/winsup/cygwin/cygerrno.h b/winsup/cygwin/cygerrno.h index 1c0ef70fe..f1ecf35fd 100644 --- a/winsup/cygwin/cygerrno.h +++ b/winsup/cygwin/cygerrno.h @@ -27,7 +27,7 @@ inline int __set_errno (const char *fn, int ln, int val) { debug_printf ("%s:%d val %d", fn, ln, val); - return errno = _impure_ptr->_errno = (val); + return errno = _impure_ptr->_errno = val; } #define set_errno(val) __set_errno (__PRETTY_FUNCTION__, __LINE__, (val))