From b7595a6ebeec5381ddfbf41779df0276ac86216e Mon Sep 17 00:00:00 2001 From: ehennestad Date: Mon, 4 Nov 2024 21:17:41 +0100 Subject: [PATCH] Remove dead code --- +io/parseGroup.m | 6 ------ 1 file changed, 6 deletions(-) diff --git a/+io/parseGroup.m b/+io/parseGroup.m index 46a87c6c..09c4d4e3 100644 --- a/+io/parseGroup.m +++ b/+io/parseGroup.m @@ -55,12 +55,6 @@ if isempty(Type.typename) parsed = types.untyped.Set(... [attributeProperties; datasetProperties; groupProperties; linkProperties]); - - if isempty(parsed) - %special case where a directory is simply empty. Return itself but - %empty - parsed(root) = []; - end else if groupProperties.Count > 0 %elide group properties