[seed] [os] Fix a few more warnings



commit 8d02ea7b7780a0aaef4430eccadf94fb93ba0e72
Author: Tim Horton <hortont424 gmail com>
Date:   Tue Jul 7 01:48:27 2009 -0400

    [os] Fix a few more warnings

 modules/os/seed-os.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/modules/os/seed-os.c b/modules/os/seed-os.c
index 161a575..db7b8f7 100644
--- a/modules/os/seed-os.c
+++ b/modules/os/seed-os.c
@@ -159,7 +159,6 @@ seed_os_getgid (SeedContext ctx,
 		 const SeedValue arguments[],
 		 SeedException * exception)
 {
-  SeedValue seed_ret;
   gid_t ret;
 
   if (argument_count != 0)
@@ -701,7 +700,7 @@ seed_os_fsync (SeedContext ctx,
 	       const SeedValue arguments[],
 	       SeedException * exception)
 {
-  gint fd, name;
+  gint fd;
 
   if (argument_count != 1)
     {
@@ -866,7 +865,6 @@ seed_os_write (SeedContext ctx,
 	       const SeedValue arguments[],
 	       SeedException * exception)
 {
-  SeedValue ret;
   gint fd, nw;
   gchar *buf;
 
@@ -890,7 +888,6 @@ seed_os_ttyname (SeedContext ctx,
 		 const SeedValue arguments[],
 		 SeedException * exception)
 {
-  SeedValue ret;
   gint fd;
 
   if (argument_count != 1)
@@ -910,7 +907,6 @@ seed_os_tcgetpgrp (SeedContext ctx,
 		   const SeedValue arguments[],
 		   SeedException * exception)
 {
-  SeedValue ret;
   gint fd;
 
   if (argument_count != 1)
@@ -930,7 +926,6 @@ seed_os_tcsetpgrp (SeedContext ctx,
 		   const SeedValue arguments[],
 		   SeedException * exception)
 {
-  SeedValue ret;
   gint fd;
   pid_t pgrp;
 



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