[segyio] 159/376: Remove trailing whitespace

Jørgen Kvalsvik jokva-guest at moszumanska.debian.org
Wed Sep 20 08:04:25 UTC 2017


This is an automated email from the git hooks/post-receive script.

jokva-guest pushed a commit to branch debian
in repository segyio.

commit 0a18c95f11b844832ef4bc9ebbdbc036d5b05fa0
Author: Jørgen Kvalsvik <jokva at statoil.com>
Date:   Tue Jan 17 10:34:05 2017 +0100

    Remove trailing whitespace
---
 mex/Segy.m                        | 4 ++--
 mex/segy_get_segy_header_mex.c    | 2 +-
 mex/segy_put_headers_mex.c        | 2 +-
 mex/segy_read_write_ps_line_mex.c | 2 +-
 mex/segyspec_mex.c                | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/mex/Segy.m b/mex/Segy.m
index d032b99..151ba2b 100644
--- a/mex/Segy.m
+++ b/mex/Segy.m
@@ -182,7 +182,7 @@ classdef Segy
             segycube = SegySpec(filename, il_word, xl_word, t0);
         end
 
-        % Goal: 
+        % Goal:
         %   Interpret segy cube as a 3D cube and save information needed to access
         %   the segy file as a cube in terms of inline and crossline numbers.
         %
@@ -193,7 +193,7 @@ classdef Segy
         %   il_word     bytenumber or header word for inline number
         %   xl_word     bytenumber or header word for crossline number
         %   t0          Time (ms) / depth (m) of first sample. Optional (default = 0)
-        %   
+        %
         % output:
         %   name        meaning
         %   segycube    struct needed to access segy file as a cube. Used by
diff --git a/mex/segy_get_segy_header_mex.c b/mex/segy_get_segy_header_mex.c
index b5664c1..e0c2482 100644
--- a/mex/segy_get_segy_header_mex.c
+++ b/mex/segy_get_segy_header_mex.c
@@ -17,7 +17,7 @@ void mexFunction(int nlhs, mxArray *plhs[],
     segy_file* fp = segyfopen( prhs[ 0 ], "rb" );
     char* textheader = mxMalloc( segy_textheader_size() );
     err = segy_read_textheader( fp, textheader );
-    
+
     if( err != 0 ) {
         msg1 = "segy:text_header:os";
         msg2 = strerror( errno );
diff --git a/mex/segy_put_headers_mex.c b/mex/segy_put_headers_mex.c
index 3b5b3b9..a5aaad2 100644
--- a/mex/segy_put_headers_mex.c
+++ b/mex/segy_put_headers_mex.c
@@ -21,7 +21,7 @@ void mexFunction(int nlhs, mxArray *plhs[],
     struct segy_file_format fmt = filefmt( fp );
 
     char traceheader[ SEGY_TRACE_HEADER_SIZE ];
-    /* 
+    /*
      * check that the field is valid and writing it won't return an error. by
      * checking it here we don't have to do it in the write loop
      */
diff --git a/mex/segy_read_write_ps_line_mex.c b/mex/segy_read_write_ps_line_mex.c
index 4a084df..cb520fb 100644
--- a/mex/segy_read_write_ps_line_mex.c
+++ b/mex/segy_read_write_ps_line_mex.c
@@ -38,7 +38,7 @@ void mexFunction(int nlhs, mxArray *plhs[],
 
     unsigned int line_trace0;
     int errc = segy_line_trace0( index, line_length, stride, offsets, line_indexes, line_count, &line_trace0 );
-    if( errc != SEGY_OK ) { 
+    if( errc != SEGY_OK ) {
         mexErrMsgIdAndTxt( "segy:get_ps_line:wrong_line_number",
                            "Specified line number is not in cube." );
         return;
diff --git a/mex/segyspec_mex.c b/mex/segyspec_mex.c
index 3e7e14a..e318fae 100644
--- a/mex/segyspec_mex.c
+++ b/mex/segyspec_mex.c
@@ -142,7 +142,7 @@ void mexFunction( int nlhs, mxArray *plhs[],
     if (spec.filename != NULL)
         free(spec.filename);
     mxFree(filename);
-    
+
     return;
 
     FAILURE:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/segyio.git



More information about the debian-science-commits mailing list