Permalink
Browse files

Removing unused stuff

  • Loading branch information...
1 parent 353ccb7 commit 3c1a3fe39bc68225ac636bff173f0f13a2e3ec48 Benjamin Godard committed Feb 8, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 Categories/UIImage+Filtering.m
@@ -29,11 +29,11 @@
#pragma mark - Edge detection kernels
/* vImage kernel */
-static int16_t __s_edgedetect_kernel_3x3[9] = {
+/*static int16_t __s_edgedetect_kernel_3x3[9] = {
-1, -1, -1,
-1, 8, -1,
-1, -1, -1
-};
+};*/
/* vDSP kernel */
static float __f_edgedetect_kernel_3x3[9] = {
-1.0f, -1.0f, -1.0f,
@@ -208,6 +208,7 @@ -(UIImage*)contrastAdjustmentWithValue:(float)value
-(UIImage*)edgeDetectionWithBias:(NSInteger)bias
{
+#pragma unused(bias)
/// Create an ARGB bitmap context
const size_t width = self.size.width;
const size_t height = self.size.height;

0 comments on commit 3c1a3fe

Please sign in to comment.