Page 1 of 1

[Nagios-devel] [PATCH] fix POPs warning

Posted: Fri Sep 08, 2006 1:04 am
by Guest

utils.c: In function 'my_system':
utils.c:2653: warning: value computed is not used

Make POPs usage consistent with other places.

---
base/utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: nagios-2.5/base/utils.c
===================================================================
--- nagios-2.5.orig/base/utils.c
+++ nagios-2.5/base/utils.c
@@ -2650,7 +2650,7 @@ int my_system(char *cmd,int timeout,int
/*
* XXXX need pipe open to send the compilation failure message back to Nag ?
*/
- POPs ;
+ (void) POPs ;

snprintf(buffer,sizeof(buffer)-1,"%s", SvPVX(ERRSV));
buffer[sizeof(buffer)-1]='\x0';





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]