Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Dec 2010 22:16:15 +0000 (UTC)
From:      Ulrich Spoerlein <uqs@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/bin/sh expand.c
Message-ID:  <201012182216.oBIMGXXV065326@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
uqs         2010-12-18 22:16:15 UTC

  FreeBSD src repository

  Modified files:
    bin/sh               expand.c 
  Log:
  SVN rev 216544 on 2010-12-18 22:16:15Z by uqs
  
  Remove dead code.
  
  c is assigned 0 and *loc is pointing to NULL, so c!=0 cannot be true,
  and dereferencing loc would be a bad idea anyway.
  
  Coverity Prevent:       CID 5113
  Reviewed by:            jilles
  
  Revision  Changes    Path
  1.79      +0 -2      src/bin/sh/expand.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012182216.oBIMGXXV065326>