summaryrefslogtreecommitdiff
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
commit0517b43c5b58ccc2acddea80cdfa4e16e19aa84d (patch)
treef7e8712d5864c0f5059955905241b94e33656379 /ext
parent8a6eb889e03a76464af1f42576cf7d9f096433ca (diff)
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.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 bbc3528..5573cb4 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 eaeb3d6..3e64446 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 a0e2e95..a5d86e7 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 5ae4cae..30ab5bd 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 0102ddc..9661c3c 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 c8883c9..f3e215e 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;