git: OpenSSH: Suppress last warning in session.c

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Sun Sep 25 22:56:35 PDT 2016


commit 1852dacb2add612faac4649f46850e8492c56065
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Sun Sep 25 18:10:27 2016 +0300

    OpenSSH: Suppress last warning in session.c
    
    Use __DECONST() trick, that is safe here because login_getcapstr() either
    returns copy on success or error string that in this case is passed as
    def_nl and checked if return pointer is != def_nl.

Summary of changes:
 crypto/openssh/session.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1852dacb2add612faac4649f46850e8492c56065


-- 
DragonFly BSD source repository



More information about the Commits mailing list