diff --git a/api/src/glfs-handleops.c b/api/src/glfs-handleops.c index e9f74e8838..0595a0a7a1 100644 --- a/api/src/glfs-handleops.c +++ b/api/src/glfs-handleops.c @@ -1501,7 +1501,6 @@ pub_glfs_h_create_from_handle(struct glfs *fs, unsigned char *handle, int len, object = GF_CALLOC(1, sizeof(struct glfs_object), glfs_mt_glfs_object_t); if (object == NULL) { errno = ENOMEM; - ret = -1; goto out; }