[Bug ada/65490] terminals.c:1266:21: warning: argument to ‘sizeof’ in ‘bzero’ call is the same expression as the destination

vries at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 31 09:15:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65490

--- Comment #2 from vries at gcc dot gnu.org ---
Author: vries
Date: Tue Mar 31 08:30:15 2015
New Revision: 221789

URL: https://gcc.gnu.org/viewcvs?rev=221789&root=gcc&view=rev
Log:
Fix bzero warning in child_setup_tty

2015-03-31  Tom de Vries  <tom@codesourcery.com>

    PR ada/65490
    * terminals.c (child_setup_tty): Fix warning 'argument to sizeof in
    bzero call is the same expression as the destination'.

Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/terminals.c



More information about the Gcc-bugs mailing list