[PATCH] fix POPs warning

Olaf Hering olh at suse.de
Fri Sep 8 11:04:56 CEST 2006


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';

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642




More information about the Developers mailing list