pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [warnings 6/7] linreg: Delete unused static function.


From: Jason Stover
Subject: Re: [warnings 6/7] linreg: Delete unused static function.
Date: Sat, 18 Sep 2010 12:45:32 -0400
User-agent: Mutt/1.5.18 (2008-05-17)

On Sat, Sep 18, 2010 at 06:50:24AM +0000, John Darrington wrote:
> I've no problems with this one.  This function was Jason's work perhaps
> he envisages some use for it.

Not any more -- I think deleting this one is OK.

-Jason

> On Fri, Sep 17, 2010 at 09:36:31PM -0700, Ben Pfaff wrote:
>      This function drew attention to itself through a warning about a missing
>      return type, but it isn't used so just delete it instead of adding a
>      return type
>      ---
>       src/math/linreg.c |    8 +-------
>       1 files changed, 1 insertions(+), 7 deletions(-)
>      
>      diff --git a/src/math/linreg.c b/src/math/linreg.c
>      index fe01ac3..63d1a0f 100644
>      --- a/src/math/linreg.c
>      +++ b/src/math/linreg.c
>      @@ -1,5 +1,5 @@
>       /* PSPP - a program for statistical analysis.
>      -   Copyright (C) 2005 Free Software Foundation, Inc. 
>      +   Copyright (C) 2005, 2010 Free Software Foundation, Inc. 
>       
>          This program is free software: you can redistribute it and/or modify
>          it under the terms of the GNU General Public License as published by
>      @@ -461,9 +461,3 @@ linreg_get_depvar_mean (linreg *c)
>       {
>         return c->depvar_mean;
>       }
>      -static
>      -linreg_set_dependent_column (linreg *c, int column)
>      -{
>      -  c->dependent_column = column;
>      -}
>      -
>      -- 
>      1.7.1
>      
>      
>      _______________________________________________
>      pspp-dev mailing list
>      address@hidden
>      http://lists.gnu.org/mailman/listinfo/pspp-dev
> 
> -- 
> PGP Public key ID: 1024D/2DE827B3 
> fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
> See http://pgp.mit.edu or any PGP keyserver for public key.
> 
> 



> _______________________________________________
> pspp-dev mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/pspp-dev




reply via email to

[Prev in Thread] Current Thread [Next in Thread]