summaryrefslogtreecommitdiff
path: root/src/notes.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-02-18 13:51:36 +0100
committerBardur Arantsson <bardur@scientician.net>2012-03-29 20:41:31 +0200
commitb63cc899aeedd7c6704b30738998591f327afbef (patch)
tree834185388b192fe2fbeae3abe713fb51e5c160bc /src/notes.c
parentf5bd542881c50c9295fdb5a541ef7d6e36173815 (diff)
Refactor: Remove unused/dead variables.
Diffstat (limited to 'src/notes.c')
-rw-r--r--src/notes.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/notes.c b/src/notes.c
index 11b1ed4f..3504f61c 100644
--- a/src/notes.c
+++ b/src/notes.c
@@ -87,10 +87,9 @@ void add_note(char *note, char code)
char final_note[100];
char long_day[50];
char depths[32];
- char *tmp;
/* Get the first 60 chars - so do not have an overflow */
- tmp = C_WIPE(buf, 100, char);
+ C_WIPE(buf, 100, char);
strncpy(buf, note, 60);
/* Get date and time */