On 6 Sep 2009 at 10:11, Erez Zilber wrote:

> Yeah, this looks strange because err should have been initialized in
> the for loop (assuming that ISCSI_MAX_TARGET > 0). Maybe the compiler
> doesn't check that (which may be considered a bug/feature ;) ). Do you
> want to add this fix also to open-iscsi.git?

Yes, there are some situations where gcc does not detect that a variable is 
initialized. However in most cases gcc is right.

Ulrich


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~----------~----~----~----~------~----~------~--~---

Reply via email to