From 5f1300a79e2e519387347e48c80029775068e08c Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 9 Aug 2010 09:16:08 +0000 Subject: 2010-08-09 Sebastian Huber * score/inline/rtems/score/object.inl: Use attribute unused in _Objects_Is_local_id(). --- cpukit/score/inline/rtems/score/object.inl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cpukit/score/inline/rtems/score/object.inl') diff --git a/cpukit/score/inline/rtems/score/object.inl b/cpukit/score/inline/rtems/score/object.inl index 7db87bdde9..d4d39acac6 100644 --- a/cpukit/score/inline/rtems/score/object.inl +++ b/cpukit/score/inline/rtems/score/object.inl @@ -162,7 +162,11 @@ RTEMS_INLINE_ROUTINE bool _Objects_Is_local_node( * @note On a single processor configuration, this always returns true. */ RTEMS_INLINE_ROUTINE bool _Objects_Is_local_id( +#if defined(RTEMS_MULTIPROCESSING) Objects_Id id +#else + Objects_Id id __attribute__((unused)) +#endif ) { #if defined(RTEMS_MULTIPROCESSING) -- cgit v1.2.3