[seed] [modules] Fix many warnings



commit dd5906ddfc057e865ab10647457d52d749f1593c
Author: Tim Horton <hortont424 gmail com>
Date:   Tue Jul 7 01:46:56 2009 -0400

    [modules] Fix many warnings

 Makefile.am                                    |    4 ++--
 modules/multiprocessing/seed-multiprocessing.c |    1 -
 modules/readline/seed-readline.c               |    6 +-----
 3 files changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index f530d50..c4307c5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,10 +6,10 @@ SUBDIRS = po \
 	libseed \
 	src \
 	extensions \
-	doc \
 	modules \
 	tests \
-	examples
+	examples \
+	doc
 
 seeddocdir = ${prefix}/share/doc/seed
 seeddoc_DATA = \
diff --git a/modules/multiprocessing/seed-multiprocessing.c b/modules/multiprocessing/seed-multiprocessing.c
index 9233360..1dc08e8 100644
--- a/modules/multiprocessing/seed-multiprocessing.c
+++ b/modules/multiprocessing/seed-multiprocessing.c
@@ -26,7 +26,6 @@ SeedObject seed_construct_pipe(SeedContext ctx,
 			       const SeedValue arguments[],
 			       SeedException * exception)
 {
-  GIOChannel *oner, *onew, twor, twow;
   SeedObject jsone, jstwo, jsret;
   int fd1[2], fd2[2];
   pipe_priv *priv_one, *priv_two;
diff --git a/modules/readline/seed-readline.c b/modules/readline/seed-readline.c
index 0fa2ace..6fa366a 100644
--- a/modules/readline/seed-readline.c
+++ b/modules/readline/seed-readline.c
@@ -22,7 +22,7 @@ seed_handle_rl_closure(ffi_cif * cif, void *result, void **args, void *userdata)
     {
       gchar *mes = seed_exception_to_string(ctx,
 					    exception);
-      g_warning("Exception in readline bind key closure. %s \n", mes, 0);
+      g_warning("Exception in readline bind key closure. %s \n", mes);
     }
   seed_context_unref((SeedContext) ctx);
 }
@@ -33,8 +33,6 @@ static ffi_closure *seed_make_rl_closure(SeedObject function)
 {
   ffi_cif *cif;
   ffi_closure *closure;
-  ffi_arg result;
-  ffi_status status;
 
   cif = g_new0(ffi_cif, 1);
   closure = mmap(0, sizeof(ffi_closure), PROT_READ | PROT_WRITE |
@@ -166,8 +164,6 @@ seed_static_function readline_funcs[] = {
 SeedObject
 seed_module_init(SeedEngine * local_eng)
 {
-  SeedGlobalContext ctx = local_eng->context;
-  
   seed_class_definition readline_ns_class_def = seed_empty_class;
   readline_ns_class_def.static_functions = readline_funcs;
   



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]