I also take them seriously. The reference counting is now fixed. A simple re-organziation of the code. There are however some interesting side effects in analyzer when you make calls to c libraries and within c code itself.
Lee On Apr 20, 9:44 am, alexcurylo <[email protected]> wrote: > Not that I know anything about whatever "QuickConnect" is in > particular, but just commenting on analyzer feedback in general, > > On Apr 19, 10:25 am, Brian McMillin <[email protected]> wrote: > > > warnings such as - > > > Implicit declaration of function 'doNothing' > > > Method Definition '...' not found (a bunch of different names) > > > '...' may not respond to '...' (a bunch of different messages). > > Chances are these are all harmless. There are circumstances (generally > relating to nonatomic return types) for which lack of scoped > declarations and so forth do lead to problems, but virtually always > they're just mild sloppiness of coding not really worth getting worked > up about. Although like you, I do, just on the off chance this is the > one in 200 or so that actually does cause a problem. > > > Also, hidden in all this are some other suspicious Analyzer Result > > messages such as: > > > Incorrect decrement of reference count of object not owned at this > > point by the caller. > > That, on the other hand, is very likely not harmless, quite possibly > on a "that only ever worked through blind luck" level. And even if > it's actually not causing any problems, it should still be rewritten, > because if the analyzer can't follow what's going on the chances are > good that maintenance programmers won't be able to either. > > > I take warnings as seriously as errors > > Amateur! I turn on -Werror in my release configurations so that they > ARE errors! :) > > -- > You received this message because you are subscribed to the Google Groups > "iPhoneWebDev" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/iphonewebdev?hl=en. -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.
