Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7E0ABF1E2 for ; Sat, 23 Mar 2013 00:05:13 +0000 (UTC) Received: (qmail 15948 invoked by uid 500); 23 Mar 2013 00:05:13 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 15912 invoked by uid 500); 23 Mar 2013 00:05:13 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 15778 invoked by uid 99); 23 Mar 2013 00:05:13 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Mar 2013 00:05:13 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 1C19E832A47; Sat, 23 Mar 2013 00:05:13 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: shazron@apache.org To: commits@cordova.apache.org Date: Sat, 23 Mar 2013 00:05:21 -0000 Message-Id: <8ab3dca5ea4743dda545a819831a6f90@git.apache.org> In-Reply-To: <32c22f8debc44b768ed941978f5d0434@git.apache.org> References: <32c22f8debc44b768ed941978f5d0434@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [11/13] ios commit: [CB-1285] fixed unsued var warning, and incomplete implementation warning [CB-1285] fixed unsued var warning, and incomplete implementation warning Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/42341ff4 Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/42341ff4 Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/42341ff4 Branch: refs/heads/master Commit: 42341ff4dd33feb8c267ad200ffcca79241b1571 Parents: f1d58e8 Author: lorinbeer Authored: Fri Mar 22 16:17:21 2013 -0700 Committer: lorinbeer Committed: Fri Mar 22 16:17:21 2013 -0700 ---------------------------------------------------------------------- CordovaLib/Classes/CDVCamera.m | 2 -- CordovaLib/Classes/CDVJpegHeaderWriter.h | 2 +- 2 files changed, 1 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/42341ff4/CordovaLib/Classes/CDVCamera.m ---------------------------------------------------------------------- diff --git a/CordovaLib/Classes/CDVCamera.m b/CordovaLib/Classes/CDVCamera.m index 9bf326a..ab1154e 100644 --- a/CordovaLib/Classes/CDVCamera.m +++ b/CordovaLib/Classes/CDVCamera.m @@ -314,7 +314,6 @@ static NSSet* org_apache_cordova_validArrowDirections; [exifdata appendBytes:&intValue length:1]; } - NSMutableData * buffer = [NSMutableData dataWithLength: 4]; NSMutableData * ddata = [NSMutableData dataWithCapacity: [data length]]; NSMakeRange(0,4); int loc = 0; @@ -327,7 +326,6 @@ static NSSet* org_apache_cordova_validArrowDirections; NSString * the = [exifWriter hexStringFromData:[data subdataWithRange: NSMakeRange(loc+2,2)]]; NSNumber * app1width = [exifWriter numericFromHexString:the]; //consume the original app1 block - NSData * blag = [data subdataWithRange: NSMakeRange(loc,[app1width intValue])]; [ddata appendData:exifdata]; // advance our loc marker past app1 loc += [app1width intValue] + 2; http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/42341ff4/CordovaLib/Classes/CDVJpegHeaderWriter.h ---------------------------------------------------------------------- diff --git a/CordovaLib/Classes/CDVJpegHeaderWriter.h b/CordovaLib/Classes/CDVJpegHeaderWriter.h index 9382af7..02fe91f 100644 --- a/CordovaLib/Classes/CDVJpegHeaderWriter.h +++ b/CordovaLib/Classes/CDVJpegHeaderWriter.h @@ -35,7 +35,7 @@ - (void) continuedFraction: (double) val withFractionList: (NSMutableArray*) fractionlist withHorizon: (int) horizon; -- (void) expandContinuedFraction: (NSArray*) fractionlist; +//- (void) expandContinuedFraction: (NSArray*) fractionlist; - (void) splitDouble: (double) val withIntComponent: (int*) rightside withFloatRemainder: (double*) leftside;