diff src/peopen.c @ 377:9bc3e47b0222

Various cleanups to remove compiler warnings. We're clean now, if we specify `-Wno-pointer-sign'.
author markus schnalke <meillo@marmaro.de>
date Sat, 14 Jan 2012 18:44:48 +0100
parents b27f66555ba8
children
line wrap: on
line diff
--- a/src/peopen.c	Sat Jan 14 18:20:03 2012 +0100
+++ b/src/peopen.c	Sat Jan 14 18:44:48 2012 +0100
@@ -15,18 +15,20 @@
 #include "peopen.h"
 #include "masqmail.h"
 
-static void
-destroy_argv(char **arr)
-{
-	char *p = arr[0];
-	int i = 0;
-
-	while (p) {
-		free(p);
-		p = arr[i++];
-	}
-	free(arr);
-}
+/*
+** static void
+** destroy_argv(char **arr)
+** {
+** 	char *p = arr[0];
+** 	int i = 0;
+** 
+** 	while (p) {
+** 		free(p);
+** 		p = arr[i++];
+** 	}
+** 	free(arr);
+** }
+*/
 
 static char**
 create_argv(const char *cmd, int count)