masqmail
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 diff
1.1 --- a/src/peopen.c Sat Jan 14 18:20:03 2012 +0100 1.2 +++ b/src/peopen.c Sat Jan 14 18:44:48 2012 +0100 1.3 @@ -15,18 +15,20 @@ 1.4 #include "peopen.h" 1.5 #include "masqmail.h" 1.6 1.7 -static void 1.8 -destroy_argv(char **arr) 1.9 -{ 1.10 - char *p = arr[0]; 1.11 - int i = 0; 1.12 - 1.13 - while (p) { 1.14 - free(p); 1.15 - p = arr[i++]; 1.16 - } 1.17 - free(arr); 1.18 -} 1.19 +/* 1.20 +** static void 1.21 +** destroy_argv(char **arr) 1.22 +** { 1.23 +** char *p = arr[0]; 1.24 +** int i = 0; 1.25 +** 1.26 +** while (p) { 1.27 +** free(p); 1.28 +** p = arr[i++]; 1.29 +** } 1.30 +** free(arr); 1.31 +** } 1.32 +*/ 1.33 1.34 static char** 1.35 create_argv(const char *cmd, int count)