From f46219ca3f60e6145851759ffcbdc3d5d00296d5 Mon Sep 17 00:00:00 2001 From: Gregory John Casamento Date: Wed, 23 Oct 2019 11:01:15 -0400 Subject: [PATCH] Remove end date --- Headers/Foundation/NSDateInterval.h | 1 - Source/NSDateInterval.m | 2 -- 2 files changed, 3 deletions(-) diff --git a/Headers/Foundation/NSDateInterval.h b/Headers/Foundation/NSDateInterval.h index f97c94972..962a9bbd7 100644 --- a/Headers/Foundation/NSDateInterval.h +++ b/Headers/Foundation/NSDateInterval.h @@ -39,7 +39,6 @@ extern "C" { { NSTimeInterval _duration; NSDate *_startDate; - NSDate *_endDate; } // Init diff --git a/Source/NSDateInterval.m b/Source/NSDateInterval.m index 20b66d574..8bbda9a4d 100644 --- a/Source/NSDateInterval.m +++ b/Source/NSDateInterval.m @@ -1,4 +1,3 @@ - /* Implementation of class NSDateInterval Copyright (C) 2019 Free Software Foundation, Inc. @@ -60,7 +59,6 @@ if(self != nil) { ASSIGNCOPY(_startDate, startDate); - ASSIGNCOPY(_endDate, endDate); _duration = [endDate timeIntervalSinceDate: startDate]; } return self;