From 96fee4bdf7f99448288b82a1b13c5f39f2f5ce0a Mon Sep 17 00:00:00 2001 From: Patrick Robertson Date: Thu, 28 Jun 2012 22:26:22 +0100 Subject: [PATCH] Fix compiler warnings --- VDKQueue.m | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/VDKQueue.m b/VDKQueue.m index be1ce1e..077e745 100644 --- a/VDKQueue.m +++ b/VDKQueue.m @@ -27,8 +27,6 @@ #pragma mark - #pragma mark VDKQueuePathEntry #pragma mark - -#pragma ------------------------------------------------------------------------------------------------------------------------------------------------------------ */ -#pragma ------------------------------------------------------------------------------------------------------------------------------------------------------------ */ // This is a simple model class used to hold info about each path we watch. @interface VDKQueuePathEntry : NSObject @@ -51,7 +49,7 @@ @implementation VDKQueuePathEntry @synthesize path = _path, watchedFD = _watchedFD, subscriptionFlags = _subscriptionFlags; -- (id) initWithPath:(NSString*)inPath andSubscriptionFlags:(u_int)flags; +- (id) initWithPath:(NSString*)inPath andSubscriptionFlags:(u_int)flags { self = [super init]; if (self) @@ -94,8 +92,6 @@ -(void) dealloc #pragma mark - #pragma mark VDKQueue #pragma mark - -#pragma ------------------------------------------------------------------------------------------------------------------------------------------------------------ */ -#pragma ------------------------------------------------------------------------------------------------------------------------------------------------------------ */ @interface VDKQueue () - (void) watcherThread:(id)sender; @@ -201,7 +197,7 @@ - (VDKQueuePathEntry *) addPathToQueue:(NSString *)path notifyingAbout:(u_int)fl } -- (void) watcherThread:(id)sender; +- (void) watcherThread:(id)sender { int n; struct kevent ev;