• 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
Re: Weird error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Weird error


  • Subject: Re: Weird error
  • From: Scott Ribe <email@hidden>
  • Date: Sun, 11 May 2014 08:00:07 -0600

On May 11, 2014, at 7:43 AM, William Squires <email@hidden> wrote:

> Is this a bug in Xcode?
>
> I've got a line in main.m that says:
>
> LINE_ENDINGS desiredLineEnding;
>
> (where LINE_ENDINGS is typedef enum lineEndings {...} LINE_ENDINGS), but the yellow warning alert says "! Unused variable 'output'"
> Huh? There isn't even any variable named output anywhere in the program!!

Right-click LINE_ENDINGS and choose "jump to definition". I suspect it's a macro defined elsewhere.


--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice





 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Weird error (From: William Squires <email@hidden>)

  • Prev by Date: Weird error
  • Next by Date: Re: Weird error
  • Previous by thread: Weird error
  • Next by thread: Re: Weird error
  • Index(es):
    • Date
    • Thread