summaryrefslogtreecommitdiff
path: root/gi/pygi-basictype.c
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-03-29 22:02:36 +0200
committerChristoph Reiter <reiter.christoph@gmail.com>2018-03-29 22:02:36 +0200
commited8538d8b7de45050d931edd036853944ff04d47 (patch)
tree597fa4d0df9ffe4fe7bff10cc60daa182fac6542 /gi/pygi-basictype.c
parent31597eeb77be112408a8f78d675422d3d4d9c23e (diff)
downloadpygobject-ed8538d8b7de45050d931edd036853944ff04d47.tar.gz
pygi_arg_cache_alloc() never returns NULL
Diffstat (limited to 'gi/pygi-basictype.c')
-rw-r--r--gi/pygi-basictype.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gi/pygi-basictype.c b/gi/pygi-basictype.c
index 05080306..27966bfe 100644
--- a/gi/pygi-basictype.c
+++ b/gi/pygi-basictype.c
@@ -1062,8 +1062,6 @@ pygi_arg_basic_type_new_from_info (GITypeInfo *type_info,
{
gboolean res = FALSE;
PyGIArgCache *arg_cache = pygi_arg_cache_alloc ();
- if (arg_cache == NULL)
- return NULL;
res = arg_basic_type_setup_from_info (arg_cache,
type_info,