[gjs] arg: Remove some dead code
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] arg: Remove some dead code
- Date: Thu, 2 May 2013 21:25:46 +0000 (UTC)
commit 35543442463cf28ae38957668bf2607fb4a2c3d1
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sun Apr 7 16:38:05 2013 -0400
arg: Remove some dead code
Spotted by Coverity.
https://bugzilla.gnome.org/show_bug.cgi?id=697816
gi/arg.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/gi/arg.c b/gi/arg.c
index 72034da..fb5e2ca 100644
--- a/gi/arg.c
+++ b/gi/arg.c
@@ -2260,9 +2260,7 @@ gjs_array_from_zero_terminated_c_array (JSContext *context,
} while(0);
switch (element_type) {
- case GI_TYPE_TAG_UINT8:
- ITERATE(uint8);
- break;
+ /* We handle GI_TYPE_TAG_UINT8 above. */
case GI_TYPE_TAG_INT8:
ITERATE(int8);
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]