summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-24 00:17:43 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-24 00:17:43 +0000
commitf8056c5096d508b92270e2d0a3223332e8e1ac4b (patch)
treef7e8712d5864c0f5059955905241b94e33656379 /ext
parent4d9732de6810841b590dbe6477490370cc908f2c (diff)
downloadruby-f8056c5096d508b92270e2d0a3223332e8e1ac4b.tar.gz
ruby-f8056c5096d508b92270e2d0a3223332e8e1ac4b.tar.xz
ruby-f8056c5096d508b92270e2d0a3223332e8e1ac4b.zip
banish some warnings.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 bbc35280c..5573cb415 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 eaeb3d67a..3e644465c 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 a0e2e95b3..a5d86e70a 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 5ae4cae56..30ab5bdfe 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 0102ddc4c..9661c3cad 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 c8883c9f8..f3e215e8d 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;