This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: initialize local variable wait_return


On Wed, May 04, 2011 at 11:11:52AM +0800, Chiheng Xu wrote:
>2011-05-04  Chiheng Xu  <chiheng.xu@gmail.com>
>
>       * fhandler.cc (fhandler_base_overlapped::wait_overlapped): initialize
>local variable wait_return , otherwise, gcc-4.3.4 will not compile it.

Sorry but this is the wrong solution to this problem.  I rewrote the
code recently to carefully set error conditions at each decision point.
Globally setting it at the beginning is a step backwards and it actually
masks the real problem.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]