mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-17 17:30:42 +01:00
remove unused variables (if SCM_CREDENTIALS is not available)
This commit is contained in:
parent
d1de4cbd92
commit
2d538f14e2
@ -1,4 +1,8 @@
|
||||
---------------------------------------------------------------------------
|
||||
Version 5.10.1 [V5-STABLE], 2012-0?-??
|
||||
- bugfix: remove invalid socket option call from imuxsock
|
||||
Thanks to Cristian Ionescu-Idbohrn and Jonny Törnbom
|
||||
---------------------------------------------------------------------------
|
||||
Version 5.10.0 [V5-STABLE], 2012-08-23
|
||||
|
||||
NOTE: this is the new rsyslog v5-stable, incorporating all changes from the
|
||||
|
||||
@ -386,7 +386,9 @@ static inline rsRetVal
|
||||
openLogSocket(lstn_t *pLstn)
|
||||
{
|
||||
DEFiRet;
|
||||
# if HAVE_SCM_CREDENTIALS
|
||||
int one;
|
||||
# endif /* HAVE_SCM_CREDENTIALS */
|
||||
|
||||
if(pLstn->sockName[0] == '\0')
|
||||
return -1;
|
||||
@ -802,8 +804,10 @@ static rsRetVal readSocket(lstn_t *pLstn)
|
||||
struct ucred *cred;
|
||||
struct timeval *ts;
|
||||
uchar bufRcv[4096+1];
|
||||
char aux[128];
|
||||
uchar *pRcv = NULL; /* receive buffer */
|
||||
# if HAVE_SCM_CREDENTIALS
|
||||
char aux[128];
|
||||
# endif
|
||||
|
||||
assert(pLstn->fd >= 0);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user