[Remind-Fans] [PATCH 2/2] funcs.c: Remove unused variables in SunStuff().
Simon Ruderich
simon at ruderich.org
Fri Mar 15 13:05:50 EDT 2013
---
src/funcs.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/funcs.c b/src/funcs.c
index e5255c7..181b78f 100644
--- a/src/funcs.c
+++ b/src/funcs.c
@@ -1855,9 +1855,7 @@ static int FTimeStuff(int wantmins, func_info *info)
static int SunStuff(int rise, double cosz, int jul)
{
int mins, hours;
- int dusk_or_dawn;
int year, mon, day;
- int jan0;
double M, L, tanA, sinDelta, cosDelta, a, a_hr, cosH, t, H, T;
double latitude, longdeg, UT, local;
@@ -1879,9 +1877,7 @@ static int SunStuff(int rise, double cosz, int jul)
FromJulian(jul, &year, &mon, &day);
- jan0 = jul - Julian(year, 0, 1);
- dusk_or_dawn = rise;
if (rise > 1)
rise -= 2;
--
1.8.2
--
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.roaringpenguin.com/pipermail/remind-fans/attachments/20130315/82c4282f/attachment.pgp>
More information about the Remind-fans
mailing list