[cig-commits] [commit] devel: added a return statement after phtread_exit to please the copmiler. (3e83caf)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed Apr 9 08:57:29 PDT 2014


Repository : ssh://geoshell/specfem3d_globe

On branch  : devel
Link       : https://github.com/geodynamics/specfem3d_globe/compare/64e1b38f0c5ebb4056cce0b15d41c0b9f94ab6e5...099a4d330d5b173b21e51ad441f9f429e5d37842

>---------------------------------------------------------------

commit 3e83caf316def0c9566bea7b1b3a82f11a7d6418
Author: Matthieu Lefebvre <ml15 at princeton.edu>
Date:   Tue Apr 8 06:24:17 2014 -0400

    added a return statement after phtread_exit to please the copmiler.


>---------------------------------------------------------------

3e83caf316def0c9566bea7b1b3a82f11a7d6418
 src/specfem3D/file_io_threads.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/specfem3D/file_io_threads.c b/src/specfem3D/file_io_threads.c
index 03487b5..92f67d0 100644
--- a/src/specfem3D/file_io_threads.c
+++ b/src/specfem3D/file_io_threads.c
@@ -115,6 +115,7 @@ void *fread_adj_thread(void* dummy){
 
   // exit thread
   pthread_exit(NULL);
+  return NULL;  // Never used, but remove warnings.
 }
 
 // Waits until thread is finished with I/O



More information about the CIG-COMMITS mailing list