pspp-dev
[Top][All Lists]
Advanced

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

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


From: Ben Pfaff
Subject: [warnings 6/7] linreg: Delete unused static function.
Date: Fri, 17 Sep 2010 21:36:31 -0700

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




reply via email to

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