diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-24 00:17:43 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-24 00:17:43 +0000 |
commit | 0517b43c5b58ccc2acddea80cdfa4e16e19aa84d (patch) | |
tree | f7e8712d5864c0f5059955905241b94e33656379 /ext | |
parent | 8a6eb889e03a76464af1f42576cf7d9f096433ca (diff) | |
download | ruby-0517b43c5b58ccc2acddea80cdfa4e16e19aa84d.tar.gz |
banish some warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/dbm/dbm.c | 1 | ||||
-rw-r--r-- | ext/dl/handle.c | 1 | ||||
-rw-r--r-- | ext/gdbm/gdbm.c | 1 | ||||
-rw-r--r-- | ext/openssl/ossl_ssl.c | 1 | ||||
-rw-r--r-- | ext/readline/readline.c | 1 | ||||
-rw-r--r-- | ext/sdbm/init.c | 1 |
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; |