mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 23:08:40 +02:00
Remove dead code; remove unnecessary catch { ... }
This commit is contained in:
@@ -262,7 +262,6 @@ if {[string match "rem2pdf:*" "$a"]} {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Reminder file to source -- default
|
# Reminder file to source -- default
|
||||||
set ReminderFile {NOSUCHFILE}
|
|
||||||
set ReminderFile [file nativename [home "/.reminders"]]
|
set ReminderFile [file nativename [home "/.reminders"]]
|
||||||
|
|
||||||
# Default options file
|
# Default options file
|
||||||
@@ -274,8 +273,7 @@ set EditorPid -1
|
|||||||
set RemindErrors ""
|
set RemindErrors ""
|
||||||
|
|
||||||
# Reminder file to append to -- default
|
# Reminder file to append to -- default
|
||||||
set AppendFile {NOSUCHFILE}
|
set AppendFile $ReminderFile
|
||||||
catch {set AppendFile $ReminderFile}
|
|
||||||
|
|
||||||
# Array of tags -> JSON dicts
|
# Array of tags -> JSON dicts
|
||||||
array unset TagToObj
|
array unset TagToObj
|
||||||
|
|||||||
Reference in New Issue
Block a user