mirror of
https://github.com/transmission/transmission
synced 2025-03-06 11:38:21 +00:00
dead code removal
This commit is contained in:
parent
5126de2802
commit
e777fefd63
1 changed files with 0 additions and 3 deletions
|
@ -380,9 +380,6 @@
|
||||||
//check if the location currently exists
|
//check if the location currently exists
|
||||||
if (![[NSFileManager defaultManager] fileExistsAtPath: [fLocation stringByDeletingLastPathComponent]])
|
if (![[NSFileManager defaultManager] fileExistsAtPath: [fLocation stringByDeletingLastPathComponent]])
|
||||||
{
|
{
|
||||||
NSArray * pathComponents = [fLocation pathComponents];
|
|
||||||
NSInteger count = [pathComponents count];
|
|
||||||
|
|
||||||
NSAlert * alert = [[[NSAlert alloc] init] autorelease];
|
NSAlert * alert = [[[NSAlert alloc] init] autorelease];
|
||||||
[alert addButtonWithTitle: NSLocalizedString(@"OK", "Create torrent -> directory doesn't exist warning -> button")];
|
[alert addButtonWithTitle: NSLocalizedString(@"OK", "Create torrent -> directory doesn't exist warning -> button")];
|
||||||
[alert setMessageText: NSLocalizedString(@"The chosen torrent file location does not exist.",
|
[alert setMessageText: NSLocalizedString(@"The chosen torrent file location does not exist.",
|
||||||
|
|
Loading…
Add table
Reference in a new issue