mirror of
https://github.com/osmarks/ngircd.git
synced 2025-05-02 23:44:06 +00:00
Eliminate some compiler warnings ("unused parameter").
This commit is contained in:
parent
e5097bf2e6
commit
74cb2e2768
@ -17,7 +17,7 @@
|
|||||||
#include "portab.h"
|
#include "portab.h"
|
||||||
#include "io.h"
|
#include "io.h"
|
||||||
|
|
||||||
static char UNUSED id[] = "$Id: conn.c,v 1.164 2005/07/13 16:06:55 fw Exp $";
|
static char UNUSED id[] = "$Id: conn.c,v 1.165 2005/07/22 21:31:05 alex Exp $";
|
||||||
|
|
||||||
#include "imp.h"
|
#include "imp.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
@ -115,7 +115,7 @@ cb_listen(int sock, short irrelevant)
|
|||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
cb_connserver(int sock, short what)
|
cb_connserver(int sock, UNUSED short what)
|
||||||
{
|
{
|
||||||
int res, err;
|
int res, err;
|
||||||
socklen_t sock_len;
|
socklen_t sock_len;
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
#include "portab.h"
|
#include "portab.h"
|
||||||
|
|
||||||
static char UNUSED id[] = "$Id: parse.c,v 1.63 2005/06/24 20:56:46 alex Exp $";
|
static char UNUSED id[] = "$Id: parse.c,v 1.64 2005/07/22 21:31:05 alex Exp $";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file
|
* @file
|
||||||
@ -317,7 +317,7 @@ Validate_Prefix( CONN_ID Idx, REQUEST *Req, bool *Closed )
|
|||||||
|
|
||||||
|
|
||||||
LOCAL bool
|
LOCAL bool
|
||||||
Validate_Command( CONN_ID Idx, REQUEST *Req, bool *Closed )
|
Validate_Command( UNUSED CONN_ID Idx, UNUSED REQUEST *Req, bool *Closed )
|
||||||
{
|
{
|
||||||
assert( Idx >= 0 );
|
assert( Idx >= 0 );
|
||||||
assert( Req != NULL );
|
assert( Req != NULL );
|
||||||
@ -328,7 +328,7 @@ Validate_Command( CONN_ID Idx, REQUEST *Req, bool *Closed )
|
|||||||
|
|
||||||
|
|
||||||
LOCAL bool
|
LOCAL bool
|
||||||
Validate_Args( CONN_ID Idx, REQUEST *Req, bool *Closed )
|
Validate_Args( UNUSED CONN_ID Idx, UNUSED REQUEST *Req, bool *Closed )
|
||||||
{
|
{
|
||||||
assert( Idx >= 0 );
|
assert( Idx >= 0 );
|
||||||
assert( Req != NULL );
|
assert( Req != NULL );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user