diff --git a/authd/providers/opm.c b/authd/providers/opm.c index d6cd0b54..fe84fdd4 100644 --- a/authd/providers/opm.c +++ b/authd/providers/opm.c @@ -370,7 +370,6 @@ socks5_connected(struct opm_scan *scan) static void http_connect_connected(struct opm_scan *scan) { - struct auth_client *auth = scan->auth; char sendbuf[128]; /* A bit bigger than we need but better safe than sorry */ /* Simple enough to build */ diff --git a/ircd/modules.c b/ircd/modules.c index 63e94cfd..e1d9a564 100644 --- a/ircd/modules.c +++ b/ircd/modules.c @@ -428,7 +428,6 @@ load_a_module(const char *path, bool warn, int origin, bool core) lt_dlhandle tmpptr; char *mod_displayname, *c; const char *ver, *description = NULL; - size_t module_ext_len = strlen(LT_MODULE_EXT); int *mapi_version; diff --git a/ircd/wsproc.c b/ircd/wsproc.c index 61c27aaf..b11b0f3d 100644 --- a/ircd/wsproc.c +++ b/ircd/wsproc.c @@ -37,9 +37,6 @@ static void ws_read_ctl(rb_fde_t * F, void *data); static int wsockd_count; -static char tmpbuf[READBUF_SIZE]; -static char nul = '\0'; - #define MAXPASSFD 4 #define READSIZE 1024 typedef struct _ws_ctl_buf diff --git a/modules/cap_server_time.c b/modules/cap_server_time.c index 06eea3dd..7371279d 100644 --- a/modules/cap_server_time.c +++ b/modules/cap_server_time.c @@ -55,7 +55,6 @@ cap_server_time_process(hook_data *data) static char buf[BUFSIZE]; struct MsgBuf *msgbuf = data->arg1; struct timeval tv; - time_t ts = rb_current_time(); if (!rb_gettimeofday(&tv, NULL)) { if (strftime(buf, sizeof(buf), "%Y-%m-%dT%H:%M:%S.", gmtime(&tv.tv_sec)) < 0) diff --git a/modules/core/m_join.c b/modules/core/m_join.c index eb6056da..ae75f86f 100644 --- a/modules/core/m_join.c +++ b/modules/core/m_join.c @@ -144,7 +144,6 @@ static void m_join(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[]) { static char jbuf[BUFSIZE]; - static char parabuf[MODEBUFLEN]; struct Channel *chptr = NULL, *chptr2 = NULL; struct ConfItem *aconf; char *name; diff --git a/modules/m_cap.c b/modules/m_cap.c index e050946b..6dc58cba 100644 --- a/modules/m_cap.c +++ b/modules/m_cap.c @@ -326,7 +326,6 @@ cap_req(struct Client *source_p, const char *arg) for(cap = clicap_find(arg, &negate, &finished); cap; cap = clicap_find(NULL, &negate, &finished)) { - size_t namelen = strlen(cap->cap); const char *type; if(negate)