From: Steffan Karger <[email protected]>

Return values are rvalues, and can not be changed anyway.  Adding const
does not make sense here at all.  (What was I thinking...?)

Signed-off-by: Steffan Karger <[email protected]>
---
 src/openvpn/error.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/openvpn/error.h b/src/openvpn/error.h
index e6c55f0..1dc0864 100644
--- a/src/openvpn/error.h
+++ b/src/openvpn/error.h
@@ -353,7 +353,7 @@ ignore_sys_error (const int err)
 }

 /** Convert fatal errors to nonfatal, don't touch other errors */
-static inline const unsigned int
+static inline unsigned int
 nonfatal(const unsigned int err) {
   return err & M_FATAL ? (err ^ M_FATAL) | M_NONFATAL : err;
 }
-- 
2.1.4


Reply via email to