remove unused variables

This commit is contained in:
Simon Arlott 2017-08-04 19:56:29 +01:00
parent 2355be38a3
commit de36941445
No known key found for this signature in database
GPG key ID: C8975F2043CA5D24
6 changed files with 0 additions and 8 deletions

View file

@ -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 */

View file

@ -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;

View file

@ -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

View file

@ -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)

View file

@ -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;

View file

@ -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)