summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/dbm/dbm.c1
-rw-r--r--ext/dl/handle.c1
-rw-r--r--ext/gdbm/gdbm.c1
-rw-r--r--ext/openssl/ossl_ssl.c1
-rw-r--r--ext/readline/readline.c1
-rw-r--r--ext/sdbm/init.c1
6 files changed, 0 insertions, 6 deletions
diff --git a/ext/dbm/dbm.c b/ext/dbm/dbm.c
index bbc35280cc..5573cb415d 100644
--- a/ext/dbm/dbm.c
+++ b/ext/dbm/dbm.c
@@ -242,7 +242,6 @@ fdbm_select(obj)
VALUE obj;
{
VALUE new = rb_ary_new();
- int i;
datum key, val;
DBM *dbm;
struct dbmdata *dbmp;
diff --git a/ext/dl/handle.c b/ext/dl/handle.c
index eaeb3d67a9..3e644465ca 100644
--- a/ext/dl/handle.c
+++ b/ext/dl/handle.c
@@ -126,7 +126,6 @@ VALUE
rb_dlhandle_sym(VALUE self, VALUE sym)
{
void (*func)();
- struct sym_data *data;
struct dl_handle *dlhandle;
void *handle;
const char *name;
diff --git a/ext/gdbm/gdbm.c b/ext/gdbm/gdbm.c
index a0e2e95b38..a5d86e70af 100644
--- a/ext/gdbm/gdbm.c
+++ b/ext/gdbm/gdbm.c
@@ -338,7 +338,6 @@ fgdbm_select(obj)
VALUE obj;
{
VALUE new = rb_ary_new();
- int i;
GDBM_FILE dbm;
struct dbmdata *dbmp;
VALUE keystr;
diff --git a/ext/openssl/ossl_ssl.c b/ext/openssl/ossl_ssl.c
index 5ae4cae56f..30ab5bdfe1 100644
--- a/ext/openssl/ossl_ssl.c
+++ b/ext/openssl/ossl_ssl.c
@@ -574,7 +574,6 @@ ossl_start_ssl(VALUE self, int (*func)())
{
SSL *ssl;
OpenFile *fptr;
- VALUE cb;
int ret;
Data_Get_Struct(self, SSL, ssl);
diff --git a/ext/readline/readline.c b/ext/readline/readline.c
index 0102ddc4cd..9661c3cad9 100644
--- a/ext/readline/readline.c
+++ b/ext/readline/readline.c
@@ -59,7 +59,6 @@ readline_readline(argc, argv, self)
char *prompt = NULL;
char *buff;
int status;
- OpenFile *ofp, *ifp;
rb_secure(4);
if (rb_scan_args(argc, argv, "02", &tmp, &add_hist) > 0) {
diff --git a/ext/sdbm/init.c b/ext/sdbm/init.c
index c8883c9f8d..f3e215e8d6 100644
--- a/ext/sdbm/init.c
+++ b/ext/sdbm/init.c
@@ -219,7 +219,6 @@ fsdbm_select(obj)
VALUE obj;
{
VALUE new = rb_ary_new();
- int i;
datum key, val;
DBM *dbm;
struct dbmdata *dbmp;