Skip to content

Commit

Permalink
fix: remove notimplemented array and slice
Browse files Browse the repository at this point in the history
  • Loading branch information
NSEcho committed Jun 8, 2024
1 parent cb00769 commit 2e015c8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions frida/go_to_variants.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ func parse(v reflect.Value) *C.GVariant {
v = v.Elem()
}
switch v.Kind() {
case reflect.Array, reflect.Slice:
for i := 0; i < v.Len(); i++ {
parse(v.Index(i))
}
return C.g_variant_new_string(C.CString("array"))
case reflect.Map:
var builder C.GVariantBuilder
C.g_variant_builder_init(&builder, C.G_VARIANT_TYPE_VARDICT)
Expand Down

0 comments on commit 2e015c8

Please sign in to comment.