From e114e0d7e5c2df006fc89d8625274da099327e2e Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 11 Sep 2007 15:39:00 +0000 Subject: - removed compiler warnings in non-debug mode - fixed a bug that caused the CStr class to not honor the parameter to return NULL on empty string - causes a mem leak and can create favourable environment for other bugs (as it leads to empty hostnames) --- module-template.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module-template.h') diff --git a/module-template.h b/module-template.h index edf84a12..e3fe06de 100644 --- a/module-template.h +++ b/module-template.h @@ -175,7 +175,7 @@ static rsRetVal onSelectReadyWrite(void *pModData)\ * continue modularization. */ #define BEGINgetWriteFDForSelect \ -static rsRetVal getWriteFDForSelect(void *pModData, short *fd)\ +static rsRetVal getWriteFDForSelect(void *pModData, short __attribute__((unused)) *fd)\ {\ rsRetVal iRet = RS_RET_NONE;\ instanceData *pData = NULL; -- cgit