aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-07-21 18:45:22 +0000
committerMike Stump <mrs@apple.com>2009-07-21 18:45:22 +0000
commite448611736b0bcf76c0bdb5d8b1083eb75d41779 (patch)
treefc482ea3ed777797a5eeec853369e4d5de979ab3
parentfd28a619da3dda5f9b897abbb469cf699098e965 (diff)
Prep for new warning.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76606 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Analysis/NSPanel.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/NSPanel.m b/test/Analysis/NSPanel.m
index b7c7b3cd13..3851267083 100644
--- a/test/Analysis/NSPanel.m
+++ b/test/Analysis/NSPanel.m
@@ -30,7 +30,7 @@ typedef struct _NSZone NSZone;
@end
typedef float CGFloat;
typedef struct _NSPoint {} NSRect;
-static __inline__ __attribute__((always_inline)) NSRect NSMakeRect(CGFloat x, CGFloat y, CGFloat w, CGFloat h) {}
+static __inline__ __attribute__((always_inline)) NSRect NSMakeRect(CGFloat x, CGFloat y, CGFloat w, CGFloat h) { NSRect r; return r; }
typedef struct {} NSFastEnumerationState;
@protocol NSFastEnumeration
- (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(id *)stackbuf count:(NSUInteger)len;