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))