conf: add missing static qualifier
internal helper, so it should be static. also, add UNUSED to 'Line'.
This commit is contained in:
parent
6d11fb1497
commit
9402bcaa73
|
@ -893,7 +893,7 @@ Handle_MaxNickLength(int Line, const char *Arg)
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
WarnIdent(int Line)
|
WarnIdent(int UNUSED Line)
|
||||||
{
|
{
|
||||||
#ifndef IDENTAUTH
|
#ifndef IDENTAUTH
|
||||||
if (Conf_Ident) {
|
if (Conf_Ident) {
|
||||||
|
@ -927,7 +927,7 @@ CheckLegacyNoOption(const char *Var, const char *Arg)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *
|
static const char *
|
||||||
NoNo(const char *str)
|
NoNo(const char *str)
|
||||||
{
|
{
|
||||||
assert(strncasecmp("no", str, 2) == 0 && str[2]);
|
assert(strncasecmp("no", str, 2) == 0 && str[2]);
|
||||||
|
|
Loading…
Reference in New Issue