Re: [PATCH 06/11] Remove always true nonnull check on "this" pointer.

2016-03-30 Thread Peter Foley
On Wed, Mar 30, 2016 at 7:24 AM, Corinna Vinschen wrote: > Hi Peter, > > On Mar 19 13:45, Peter Foley wrote: >> G++ 6.0 can assert that the this pointer is non-null for member functions. > > Maybe, but if it compains, it's bound to find false positives... > Alright, I'll take a closer look at thi

Re: [PATCH 06/11] Remove always true nonnull check on "this" pointer.

2016-03-30 Thread Corinna Vinschen
Hi Peter, On Mar 19 13:45, Peter Foley wrote: > G++ 6.0 can assert that the this pointer is non-null for member functions. Maybe, but if it compains, it's bound to find false positives... > @@ -502,7 +502,7 @@ fhandler_dev_dsp::Audio_out::buf_info (audio_buf_info *p, >

Re: [PATCH 06/11] Remove always true nonnull check on "this" pointer.

2016-03-29 Thread Peter Foley
On Sat, Mar 19, 2016 at 1:45 PM, Peter Foley wrote: > G++ 6.0 can assert that the this pointer is non-null for member functions. > > winsup/cygserver/ChangeLog > process.cc (submission_loop::request_loop): Remove nonnull check on this. > process.cc (sync_wait_array): Ditto. > process.cc (check_and

[PATCH 06/11] Remove always true nonnull check on "this" pointer.

2016-03-19 Thread Peter Foley
G++ 6.0 can assert that the this pointer is non-null for member functions. winsup/cygserver/ChangeLog process.cc (submission_loop::request_loop): Remove nonnull check on this. process.cc (sync_wait_array): Ditto. process.cc (check_and_remove_process): Ditto. threaded_queue.cc (add_submission_loop)