diff options
author | Joseph Heenan <joseph@emobix.co.uk> | 2016-06-03 17:32:06 +0100 |
---|---|---|
committer | Joseph Heenan <joseph@emobix.co.uk> | 2016-06-09 10:57:47 +0100 |
commit | 917b8ef89a75fbbce80a6eba506829f45470645c (patch) | |
tree | 097aec6e74809b5ca4abe1d8aead2521369d8d79 /platform/ios | |
parent | 2fd7f11cfe4ebdc6d1035db521e61d15101ab36e (diff) | |
download | mupdf-917b8ef89a75fbbce80a6eba506829f45470645c.tar.xz |
iOS: Remove some printfs
We shouldn't output any debug in default release build.
Diffstat (limited to 'platform/ios')
-rw-r--r-- | platform/ios/Classes/MuLibraryController.m | 7 |
1 files changed, 0 insertions, 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 |