[gjs] arg: Remove some unused variables
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] arg: Remove some unused variables
- Date: Wed, 22 Jan 2014 23:56:48 +0000 (UTC)
commit f1ab61e5ed886839e5133b52d1a7f87c14bbbb72
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Jan 22 18:56:34 2014 -0500
arg: Remove some unused variables
gi/arg.cpp | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/gi/arg.cpp b/gi/arg.cpp
index f10def2..e654856 100644
--- a/gi/arg.cpp
+++ b/gi/arg.cpp
@@ -1670,7 +1670,6 @@ gjs_value_to_g_argument(JSContext *context,
GIArrayType array_type = g_type_info_get_array_type(type_info);
GITypeTag element_type;
GITypeInfo *param_info;
- gboolean bytearray_fastpath = FALSE;
param_info = g_type_info_get_param_type(type_info, 0);
element_type = g_type_info_get_tag(param_info);
@@ -1693,8 +1692,7 @@ gjs_value_to_g_argument(JSContext *context,
}
}
- if (!bytearray_fastpath &&
- !gjs_array_to_explicit_array_internal(context,
+ if (!gjs_array_to_explicit_array_internal(context,
value,
type_info,
arg_name,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]