svn commit: r243665 - head/sbin/dump

Konstantin Belousov kostikbel at gmail.com
Thu Nov 29 13:04:57 UTC 2012


On Thu, Nov 29, 2012 at 07:45:12AM -0500, Eitan Adler wrote:
> On 29 November 2012 07:01, Konstantin Belousov <kostikbel at gmail.com> wrote:
> > On Thu, Nov 29, 2012 at 05:16:50AM +0000, Eitan Adler wrote:
> >> Author: eadler
> >> Date: Thu Nov 29 05:16:50 2012
> >> New Revision: 243665
> >> URL: http://svnweb.freebsd.org/changeset/base/243665
> >>
> >> Log:
> >>   Mark non-returning function as such
> >>
> >>   PR:         bin/172978
> >>   Approved by:        cperciva
> >>   MFC after:  3 days
> >>
> >> Modified:
> >>   head/sbin/dump/dump.h
> >>
> >> Modified: head/sbin/dump/dump.h
> >> ==============================================================================
> >> --- head/sbin/dump/dump.h     Thu Nov 29 03:48:39 2012        (r243664)
> >> +++ head/sbin/dump/dump.h     Thu Nov 29 05:16:50 2012        (r243665)
> >> @@ -121,7 +121,7 @@ void      trewind(void);
> >>  void writerec(char *dp, int isspcl);
> >>
> >>  void Exit(int status) __dead2;
> >> -void dumpabort(int signo);
> >> +void dumpabort(int signo) __dead2;
> >>  void dump_getfstab(void);
> >>
> >>  char *rawname(char *cp);
> > What is the goal of this change ?
> 
> It fixes some static analyzer warnings.
This cannot be a reason to cripple the code.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20121129/1059747f/attachment.sig>


More information about the svn-src-head mailing list