[PATCH] rtt: fix compile warning by adding space

---
rtt/InputPort.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/rtt/InputPort.hpp b/rtt/InputPort.hpp
index dcfd861..a5536b1 100644
--- a/rtt/InputPort.hpp
+++ b/rtt/InputPort.hpp
@@ -147,7 +147,7 @@ namespace RTT
if (result != RTT::NewData)
return result;

- while (read(sample) == RTT::NewData);
+ while (read(sample) == RTT::NewData) ;
return RTT::NewData;
}

--
1.7.1

AttachmentSize
0001-rtt-fix-compile-warning-by-adding-space.patch783 bytes

[PATCH] rtt: fix compile warning by adding space

On Thursday 06 January 2011 14:17:19 Ruben Smits wrote:
> Signed-off-by: Ruben Smits <ruben [dot] smits [..] ...>
> ---
> rtt/InputPort.hpp | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/rtt/InputPort.hpp b/rtt/InputPort.hpp
> index dcfd861..a5536b1 100644
> --- a/rtt/InputPort.hpp
> +++ b/rtt/InputPort.hpp
> @@ -147,7 +147,7 @@ namespace RTT
> if (result != RTT::NewData)
> return result;
>
> - while (read(sample) == RTT::NewData);
> + while (read(sample) == RTT::NewData) ;
> return RTT::NewData;
> }
>
> --
> 1.7.1

Applied. Thanks.

Peter