diff options
author | Tom Rondeau <tom@trondeau.com> | 2014-07-07 12:18:00 -0400 |
---|---|---|
committer | Tom Rondeau <tom@trondeau.com> | 2014-07-07 12:18:00 -0400 |
commit | 597b93798a804cde1783d6d2ab53b348d57c44cd (patch) | |
tree | b65e73bb0de634ff5d209b15971ebdabf369a45c /gr-blocks/lib/streams_to_stream_impl.cc | |
parent | 1151e5502ccd440ebd89599cf7e4be4fb5ed8334 (diff) |
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).
Diffstat (limited to 'gr-blocks/lib/streams_to_stream_impl.cc')
-rw-r--r-- | gr-blocks/lib/streams_to_stream_impl.cc | 8 |
1 files changed, 4 insertions, 4 deletions
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; } |