Permalink
Browse files

no need for workaround, static analyzer decided to quiet down, fix cl…

…ock@2x path
  • Loading branch information...
1 parent 790d850 commit 494435e002817b7b1532e922913ebc134e9a900a @atebits atebits committed Jun 19, 2012
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -13,7 +13,7 @@
5C782FD013A54FFF00CF69EF /* ApplicationServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5C782FCF13A54FFD00CF69EF /* ApplicationServices.framework */; };
5C782FD713A556A900CF69EF /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5C782FD613A556A800CF69EF /* QuartzCore.framework */; };
5C90DB9D13A7C08E00ECDD14 /* ExampleTabBar.m in Sources */ = {isa = PBXBuildFile; fileRef = 5C90DB9C13A7C08D00ECDD14 /* ExampleTabBar.m */; };
- 5E8A288B158FC349000D5D2B /* clock@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 5E8A288A158FC349000D5D2B /* clock@2x.png */; };
+ 5E8A28C81590CB34000D5D2B /* clock@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 5E8A28C71590CB34000D5D2B /* clock@2x.png */; };
5ED56678139DC30300031CDF /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5ED56677139DC30300031CDF /* Cocoa.framework */; };
5ED56682139DC30300031CDF /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 5ED56680139DC30300031CDF /* InfoPlist.strings */; };
5ED56685139DC30300031CDF /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 5ED56684139DC30300031CDF /* main.m */; };
@@ -74,7 +74,7 @@
5C782FD613A556A800CF69EF /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
5C90DB9B13A7C08D00ECDD14 /* ExampleTabBar.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ExampleTabBar.h; sourceTree = "<group>"; };
5C90DB9C13A7C08D00ECDD14 /* ExampleTabBar.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ExampleTabBar.m; sourceTree = "<group>"; };
- 5E8A288A158FC349000D5D2B /* clock@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "clock@2x.png"; path = "../../../../Desktop/clock@2x.png"; sourceTree = "<group>"; };
+ 5E8A28C71590CB34000D5D2B /* clock@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "clock@2x.png"; sourceTree = "<group>"; };
5ED56673139DC30300031CDF /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
5ED56677139DC30300031CDF /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
5ED5667A139DC30300031CDF /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
@@ -174,8 +174,8 @@
5ED5667E139DC30300031CDF /* Supporting Files */ = {
isa = PBXGroup;
children = (
- 5E8A288A158FC349000D5D2B /* clock@2x.png */,
D3EC0C481432325A003C162C /* large-image.jpeg */,
+ 5E8A28C71590CB34000D5D2B /* clock@2x.png */,
5C57CF3C13A7E7C00032AC1F /* clock.png */,
5ED5667F139DC30300031CDF /* Example-Info.plist */,
5ED56680139DC30300031CDF /* InfoPlist.strings */,
@@ -290,7 +290,7 @@
5ED5668E139DC30300031CDF /* MainMenu.xib in Resources */,
5C57CF3D13A7E7C00032AC1F /* clock.png in Resources */,
D3EC0C4A1432325A003C162C /* large-image.jpeg in Resources */,
- 5E8A288B158FC349000D5D2B /* clock@2x.png in Resources */,
+ 5E8A28C81590CB34000D5D2B /* clock@2x.png in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
View
@@ -303,8 +303,6 @@ Use TLS rather than a simple global so drawsInBackground should continue to work
return 1.0;
}
-static void BogusFunctionToSilenceStaticAnalyzer(void *x) { }
-
static void TUISetCurrentContextScaleFactor(CGFloat s)
{
CGFloat *v = pthread_getspecific(TUICurrentContextScaleFactorTLSKey);
@@ -313,7 +311,6 @@ static void TUISetCurrentContextScaleFactor(CGFloat s)
pthread_setspecific(TUICurrentContextScaleFactorTLSKey, v);
}
*v = s;
- BogusFunctionToSilenceStaticAnalyzer(v);
}
- (void)displayLayer:(CALayer *)layer

0 comments on commit 494435e

Please sign in to comment.