summaryrefslogtreecommitdiff
path: root/src/notes.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2017-05-02 19:20:57 +0200
committerBardur Arantsson <bardur@scientician.net>2017-05-02 19:20:57 +0200
commit6a35e3de332df186eab39c3b67506882409a3ca2 (patch)
treeaebb7942caac015502984141cabef2f8d8b91e7f /src/notes.cc
parent536adca4d3937216e4c7191366ae2bd43a961f87 (diff)
Remove redundant (void) parameters and return value casts
Diffstat (limited to 'src/notes.cc')
-rw-r--r--src/notes.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/notes.cc b/src/notes.cc
index 33c6bf76..17990992 100644
--- a/src/notes.cc
+++ b/src/notes.cc
@@ -21,14 +21,14 @@
/*
* Show the notes file on the screen
*/
-void show_notes_file(void)
+void show_notes_file()
{
char basename[13];
char buf[1024];
char caption[10 + 13];
/* Hack -- extract first 8 characters of name and append an extension */
- (void)strnfmt(basename, sizeof(basename), "%.8s.nte", game->player_base.c_str());
+ strnfmt(basename, sizeof(basename), "%.8s.nte", game->player_base.c_str());
basename[sizeof(basename) - 1] = '\0';
/* Build the path */
@@ -55,7 +55,7 @@ void output_note(const char *final_note)
char buf[1024];
/* Hack -- extract first 8 characters of name and append an extension */
- (void)strnfmt(basename, sizeof(basename), "%.8s.nte", game->player_base.c_str());
+ strnfmt(basename, sizeof(basename), "%.8s.nte", game->player_base.c_str());
basename[sizeof(basename) - 1] = '\0';
/* Build the path */