From 597b93798a804cde1783d6d2ab53b348d57c44cd Mon Sep 17 00:00:00 2001 From: Tom Rondeau <tom@trondeau.com> Date: Mon, 7 Jul 2014 12:18:00 -0400 Subject: Removing trailing/extra whitespaces before release. We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace). --- gr-blocks/lib/streams_to_stream_impl.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gr-blocks/lib/streams_to_stream_impl.cc') diff --git a/gr-blocks/lib/streams_to_stream_impl.cc b/gr-blocks/lib/streams_to_stream_impl.cc index 8d2f330443..cbd31c4b72 100644 --- a/gr-blocks/lib/streams_to_stream_impl.cc +++ b/gr-blocks/lib/streams_to_stream_impl.cc @@ -49,14 +49,14 @@ namespace gr { gr_vector_void_star &output_items) { size_t itemsize = output_signature()->sizeof_stream_item (0); - + const char **inv = (const char **) &input_items[0]; char *out = (char *) output_items[0]; int nstreams = input_items.size(); - + assert (noutput_items % nstreams == 0); int ni = noutput_items / nstreams; - + for (int i = 0; i < ni; i++){ for (int j = 0; j < nstreams; j++){ memcpy(out, inv[j], itemsize); @@ -64,7 +64,7 @@ namespace gr { inv[j] += itemsize; } } - + return noutput_items; } -- cgit v1.2.3