Repository: lucy-clownfish
Updated Branches:
  refs/heads/master 92efcd663 -> 79c0784ab


Remove unused variables


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/aa73df7c
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/aa73df7c
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/aa73df7c

Branch: refs/heads/master
Commit: aa73df7cd34617c651617d953a9e7f407f568f55
Parents: 92efcd6
Author: Nick Wellnhofer <[email protected]>
Authored: Tue Nov 11 18:47:46 2014 +0100
Committer: Nick Wellnhofer <[email protected]>
Committed: Tue Nov 11 18:47:46 2014 +0100

----------------------------------------------------------------------
 compiler/src/CFCPerlClass.c                    | 1 -
 compiler/src/CFCPerlSub.c                      | 3 +--
 compiler/src/CFCPerlTypeMap.c                  | 1 -
 runtime/core/Clownfish/Test/TestHashIterator.c | 2 --
 4 files changed, 1 insertion(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/aa73df7c/compiler/src/CFCPerlClass.c
----------------------------------------------------------------------
diff --git a/compiler/src/CFCPerlClass.c b/compiler/src/CFCPerlClass.c
index b35b29c..aa3d738 100644
--- a/compiler/src/CFCPerlClass.c
+++ b/compiler/src/CFCPerlClass.c
@@ -229,7 +229,6 @@ CFCPerlClass_exclude_constructor(CFCPerlClass *self) {
 
 CFCPerlMethod**
 CFCPerlClass_method_bindings(CFCClass *klass) {
-    CFCClass       *parent        = CFCClass_get_parent(klass);
     size_t          num_bound     = 0;
     CFCMethod     **fresh_methods = CFCClass_fresh_methods(klass);
     CFCPerlMethod **bound 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/aa73df7c/compiler/src/CFCPerlSub.c
----------------------------------------------------------------------
diff --git a/compiler/src/CFCPerlSub.c b/compiler/src/CFCPerlSub.c
index fd508cc..8028882 100644
--- a/compiler/src/CFCPerlSub.c
+++ b/compiler/src/CFCPerlSub.c
@@ -230,8 +230,7 @@ CFCPerlSub_arg_name_list(CFCPerlSub *self) {
     char          *name_list  = CFCUtil_strdup("arg_self");
 
     for (int i = 1; i < num_vars; i++) {
-        CFCVariable *arg_var  = arg_vars[i];
-        const char  *var_name = CFCVariable_micro_sym(arg_vars[i]);
+        const char *var_name = CFCVariable_micro_sym(arg_vars[i]);
         name_list = CFCUtil_cat(name_list, ", arg_", var_name, NULL);
     }
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/aa73df7c/compiler/src/CFCPerlTypeMap.c
----------------------------------------------------------------------
diff --git a/compiler/src/CFCPerlTypeMap.c b/compiler/src/CFCPerlTypeMap.c
index 2a87f43..4189213 100644
--- a/compiler/src/CFCPerlTypeMap.c
+++ b/compiler/src/CFCPerlTypeMap.c
@@ -118,7 +118,6 @@ CFCPerlTypeMap_from_perl(CFCType *type, const char *xs_var) 
{
 
 char*
 CFCPerlTypeMap_to_perl(CFCType *type, const char *cf_var) {
-    const char *type_str = CFCType_to_c(type);
     char *result = NULL;
 
     if (CFCType_is_object(type)) {

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/aa73df7c/runtime/core/Clownfish/Test/TestHashIterator.c
----------------------------------------------------------------------
diff --git a/runtime/core/Clownfish/Test/TestHashIterator.c 
b/runtime/core/Clownfish/Test/TestHashIterator.c
index 0f37be9..4d73f9a 100644
--- a/runtime/core/Clownfish/Test/TestHashIterator.c
+++ b/runtime/core/Clownfish/Test/TestHashIterator.c
@@ -53,8 +53,6 @@ test_Next(TestBatchRunner *runner) {
     VA_Sort(expected, NULL, NULL);
 
     {
-        Obj *key;
-        Obj *value;
         HashIterator *iter = HashIter_new(hash);
         while (HashIter_Next(iter)) {
             Obj *key = HashIter_Get_Key(iter);

Reply via email to