Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

silence compiler warnings

  • Loading branch information...
commit ddfb5f6a962b91d580a08deb08b22cae08b5fa50 1 parent 1506b35
@martinh martinh authored
View
2  app/PSMMetalTabStyle.m
@@ -407,7 +407,7 @@ - (void)drawInteriorWithTabCell:(PSMTabBarCell *)cell inView:(NSView*)controlVie
// icon
if([cell hasIcon]){
NSRect iconRect = [self iconRectForTabCell:cell];
- NSImage *icon = [[[[cell representedObject] identifier] content] icon];
+ NSImage *icon = [[[(NSTabViewItem *)[cell representedObject] identifier] content] icon];
if ([controlView isFlipped]) {
iconRect.origin.y = cellFrame.size.height - iconRect.origin.y;
}
View
6 app/PSMTabBarControl.m
@@ -55,6 +55,8 @@ - (id)cellForPoint:(NSPoint)point cellFrame:(NSRectPointer)outFrame;
- (PSMTabBarCell *)lastVisibleTab;
- (int)numberOfVisibleTabs;
+- (void)animateShowHide:(NSTimer *)timer;
+
@end
@implementation PSMTabBarControl
@@ -773,10 +775,10 @@ - (void)update
[menuItem setRepresentedObject:[cell representedObject]];
[cell setIsInOverflowMenu:YES];
[[cell indicator] removeFromSuperview];
- if ([[cell representedObject] isEqualTo:[tabView selectedTabViewItem]])
+ if ([(NSTabViewItem *)[cell representedObject] isEqualTo:[tabView selectedTabViewItem]])
[menuItem setState:NSOnState];
if([cell hasIcon])
- [menuItem setImage:[[[[cell representedObject] identifier] content] icon]];
+ [menuItem setImage:[[[(NSTabViewItem *)[cell representedObject] identifier] content] icon]];
if([cell count] > 0)
[menuItem setTitle:[[menuItem title] stringByAppendingFormat:@" (%d)",[cell count]]];
[overflowMenu addItem:menuItem];
View
1  app/SFTPConnection.h
@@ -267,5 +267,6 @@
- (BOOL)closed;
- (BOOL)connected;
- (NSURL *)normalizeURL:(NSURL *)aURL;
+- (NSString *)stringByAbbreviatingWithTildeInPath:(NSURL *)aURL;
@end
View
2  app/ViWindow.h
@@ -1,7 +1,5 @@
@interface ViWindow : NSWindow
{
}
-- (BOOL)isFullScreen;
-- (id)firstResponderOrDelegate;
@end
View
2  lemon/lempar.c
@@ -293,7 +293,7 @@ static void yy_destructor(
YYCODETYPE yymajor, /* Type code for object to destroy */
YYMINORTYPE *yypminor /* The object to be destroyed */
){
- ParseARG_FETCH;
+ // XXX: ParseARG_FETCH;
switch( yymajor ){
/* Here is inserted the actions which take place when a
** terminal or non-terminal is destroyed. This can happen
View
2  universalchardet/nscore.h
@@ -257,6 +257,7 @@
/**
* Deprecated declarations.
*/
+#if 0
#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))
# define NS_DEPRECATED __attribute__((deprecated))
#elif defined(_MSC_VER) && (_MSC_VER >= 1300)
@@ -264,6 +265,7 @@
#else
# define NS_DEPRECATED
#endif
+#endif
/**
* Generic API modifiers which return the standard XPCOM nsresult type
Please sign in to comment.
Something went wrong with that request. Please try again.