• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
error message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

error message


  • Subject: error message
  • From: "Brian E. Howard" <email@hidden>
  • Date: Sat, 19 Oct 2002 20:58:17 -0400

It's probably just late, but I can't figure out why I'm getting:

AppController.m.18: warning: control reaches end of non-void function

with this code:

@implementation AppController

- (id)init
{
if (self = [super init])
(NSArray *)resultArray = [[NSArray alloc] init];
} // this line selected by warning system!

Anyone feeling generous tonight?

Brian
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: error message
      • From: David Remahl <email@hidden>
  • Prev by Date: Re: NSLayoutManager vs BBEdit (Was Re: Carbon vs Cocoa arguments)
  • Next by Date: Re: error message
  • Previous by thread: Faster drawing NSButtons
  • Next by thread: Re: error message
  • Index(es):
    • Date
    • Thread