[med-svn] [libgtextutils] 43/83: Minor changes to remove compilation warnings on opensolaris.

Charles Plessy plessy at moszumanska.debian.org
Wed Jan 8 13:37:28 UTC 2014


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

plessy pushed a commit to branch debian/unstable
in repository libgtextutils.

commit 79cb1c8244db3e7bdeaf68c95727f4995d48ae2d
Author: A. Gordon <gordon at cshl.edu>
Date:   Mon Oct 12 18:04:10 2009 -0400

    Minor changes to remove compilation warnings on opensolaris.
    
    Reported by Enis Afgan (afgane at gmail.com) from James Tylor's Galaxy team in Emory.
---
 src/gtextutils/pipe_fitter.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/gtextutils/pipe_fitter.c b/src/gtextutils/pipe_fitter.c
index 2696e2e..ddc379f 100644
--- a/src/gtextutils/pipe_fitter.c
+++ b/src/gtextutils/pipe_fitter.c
@@ -105,10 +105,12 @@ static int pipe_open (
 			dup2(file_fd, STDOUT_FILENO);
 	}
 
-	execlp(executable,executable,NULL);
+	execlp(executable,executable,(char*)NULL);
 
 	//Should never get here...
 	err(1,"execlp(%s) failed",executable);
+
+	return 0; //just to please gcc
 }
 
 int pipe_output_command ( const char* command, const char* output_filename, pid_t* /*OUTPUT*/ child_pid )

-- 
Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/libgtextutils.git



More information about the debian-med-commit mailing list