From 917b8ef89a75fbbce80a6eba506829f45470645c Mon Sep 17 00:00:00 2001 From: Joseph Heenan Date: Fri, 3 Jun 2016 17:32:06 +0100 Subject: iOS: Remove some printfs We shouldn't output any debug in default release build. --- platform/ios/Classes/MuLibraryController.m | 7 ------- 1 file changed, 7 deletions(-) diff --git a/platform/ios/Classes/MuLibraryController.m b/platform/ios/Classes/MuLibraryController.m index 728502c7..e5a1787f 100644 --- a/platform/ios/Classes/MuLibraryController.m +++ b/platform/ios/Classes/MuLibraryController.m @@ -28,7 +28,6 @@ static void showAlert(NSString *msg, NSString *filename) [super viewWillAppear:animated]; [self setTitle: @"PDF, XPS, CBZ and EPUB Documents"]; [self reload]; - printf("library viewWillAppear (starting reload timer)\n"); timer = [NSTimer timerWithTimeInterval: 3 target: self selector: @selector(reload) userInfo: nil repeats: YES]; @@ -38,7 +37,6 @@ static void showAlert(NSString *msg, NSString *filename) - (void) viewWillDisappear: (BOOL)animated { [super viewWillDisappear:animated]; - printf("library viewWillDisappear (stopping reload timer)\n"); [timer invalidate]; timer = nil; } @@ -103,8 +101,6 @@ static void showAlert(NSString *msg, NSString *filename) strcat(filename, "/Documents/"); strcat(filename, [[files objectAtIndex: row] UTF8String]); - printf("delete document '%s'\n", filename); - unlink(filename); [self reload]; @@ -202,8 +198,6 @@ static NSString *moveOutOfInbox(NSString *docpath) dispatch_sync(queue, ^{}); - printf("open document '%s'\n", _filePath); - _filename = [nsfilename retain]; [doc release]; doc = [[MuDocRef alloc] initWithFilename:_filePath]; @@ -261,7 +255,6 @@ static NSString *moveOutOfInbox(NSString *docpath) { [_filename release]; free(_filePath); - printf("close document (password cancel)\n"); } @end -- cgit v1.2.3