Skip to content
Snippets Groups Projects
Commit 6779dcdc authored by George Nachman's avatar George Nachman
Browse files

Fix some warnings

parent 1aa26f0a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -3375,7 +3375,6 @@ static NSTimeInterval kMinimumPartialLineTriggerCheckInterval = 0.5;
}
 
static const NSTimeInterval kUpdateTitlePeriod = 0.7;
const NSTimeInterval now = [NSDate timeIntervalSinceReferenceDate];
if ([[self tab] activeSession] == self) {
// Update window info for the active tab.
NSTimeInterval now = [NSDate timeIntervalSinceReferenceDate];
Loading
Loading
Loading
Loading
@@ -94,7 +94,4 @@ void LoadPrefsFromCustomFolder(void);
 
- (BOOL)importColorPresetFromFile:(NSString*)filename;
 
// Safely remove a profile and references to it and update display.
- (void)removeProfileWithGuid:(NSString *)guid;
@end
Loading
Loading
@@ -399,10 +399,5 @@ NSString *const kSessionProfileDidChange = @"kSessionProfileDidChange";
[[self window] setFrame:rect display:YES animate:YES];
}
 
- (void)removeProfileWithGuid:(NSString *)guid {
[_profilesViewController removeProfileWithGuid:guid
fromModel:[ProfileModel sharedInstance]];
}
@end
 
Loading
Loading
@@ -49,6 +49,4 @@ extern NSString *const kProfileSessionNameDidEndEditing;
- (void)resizeWindowForCurrentTab;
- (void)windowWillClose:(NSNotification *)notification;
 
- (void)removeProfileWithGuid:(NSString *)guid fromModel:(ProfileModel *)model;
@end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment