Browse files

Clean up some warnings

  • Loading branch information...
1 parent 0eb210f commit 9d5d951e9c361792ec3a0a47f6d2a38313d132c2 @davedelong committed Dec 25, 2011
Showing with 8 additions and 10 deletions.
  1. +7 −7 DDUnitConverter.xcodeproj/project.pbxproj
  2. +1 −3 DDUnitConverter/DDCurrencyUnitConverter.m
View
14 DDUnitConverter.xcodeproj/project.pbxproj
@@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
- objectVersion = 45;
+ objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
@@ -248,8 +248,11 @@
/* Begin PBXProject section */
08FB7793FE84155DC02AAC07 /* Project object */ = {
isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 0420;
+ };
buildConfigurationList = 1DEB927808733DD40010E9CD /* Build configuration list for PBXProject "DDUnitConverter" */;
- compatibilityVersion = "Xcode 3.1";
+ compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 1;
knownRegions = (
@@ -308,7 +311,6 @@
ALWAYS_SEARCH_USER_PATHS = NO;
COPY_PHASE_STRIP = NO;
GCC_DYNAMIC_NO_PIC = NO;
- GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
@@ -340,8 +342,7 @@
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
ONLY_ACTIVE_ARCH = YES;
- PREBINDING = NO;
- SDKROOT = macosx10.6;
+ SDKROOT = macosx;
};
name = Debug;
};
@@ -352,8 +353,7 @@
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- PREBINDING = NO;
- SDKROOT = macosx10.6;
+ SDKROOT = macosx;
};
name = Release;
};
View
4 DDUnitConverter/DDCurrencyUnitConverter.m
@@ -223,9 +223,7 @@ + (NSDecimalNumber *) multiplierForUnit:(DDUnit)unit {
}
- (NSNumber *) convertNumber:(NSNumber *)number fromUnit:(DDUnit)from toUnit:(DDUnit)to {
- dispatch_sync(updateQueue, ^{
- YES; //this is so the method will wait while refreshing is going on
- });
+ dispatch_sync(updateQueue, ^{ });
return [super convertNumber:number fromUnit:from toUnit:to];
}

0 comments on commit 9d5d951

Please sign in to comment.