Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
qdraw committed Nov 9, 2023
1 parent be98775 commit cccc672
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -494,8 +494,7 @@ public static string GetObjectName (List<Directory> allExifItems)
var iptcDirectory = allExifItems.OfType<IptcDirectory>().FirstOrDefault();

var objectName = iptcDirectory?.Tags.FirstOrDefault(
p => p.DirectoryName == "IPTC"
&& p.Name == "Object Name")?.Description;
p => p.Name == "Object Name")?.Description;

if ( ! string.IsNullOrEmpty(objectName) )
{
Expand Down

0 comments on commit cccc672

Please sign in to comment.