Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#1881 closed defect (fixed)

Variable is set but never used.

Reported by: daniel@… Owned by: Christopher Lenz
Priority: lowest Milestone: 0.9
Component: general Version: devel
Severity: trivial Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

As they say in C#: WARNING: Variable t is declared (set) but never used.

diff -r 392fa18690df trunk/trac/Notify.py
--- a/trunk/trac/Notify.py      Fri Aug  5 13:29:05 2005
+++ b/trunk/trac/Notify.py      Fri Aug  5 09:29:46 2005
@@ -220,7 +220,6 @@
     def format_props(self):
         tkt = self.ticket
         fields = [f for f in tkt.fields if f['type'] != 'textarea']
-        t = self.modtime or tkt.time_changed
         width = [0,0,0,0]
         for i, f in enum([f['name'] for f in fields]):
             if not f in tkt.values.keys():

Attachments (0)

Change History (2)

comment:1 by Christopher Lenz, 19 years ago

Milestone: 0.9
Owner: changed from Jonas Borgström to Christopher Lenz
Priority: normallowest
Severity: normaltrivial
Status: newassigned

comment:2 by Christopher Lenz, 19 years ago

Resolution: fixed
Status: assignedclosed

Line removed in [2390].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.