Commit 7c41c864 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey Committed by Benno Schulenberg
Browse files

tweaks: remove unneeded braces, and mark empty parameter list as void

This matches the style in the rest of the code.
No related merge requests found
Showing with 3 additions and 3 deletions
+3 -3
......@@ -137,9 +137,9 @@ int do_statusbar_input(bool *ran_func, bool *finished)
s->scfunc == do_delete ||
s->scfunc == do_backspace))
;
else if (s->scfunc == do_verbatim_input) {
else if (s->scfunc == do_verbatim_input)
do_statusbar_verbatim_input();
} else if (s->scfunc == do_cut_text_void)
else if (s->scfunc == do_cut_text_void)
do_statusbar_cut_text();
else if (s->scfunc == do_delete)
do_statusbar_delete();
......
......@@ -456,7 +456,7 @@ bool white_string(const char *s)
#ifdef ENABLE_COMMENT
/* Comment or uncomment the current line or the marked lines. */
void do_comment()
void do_comment(void)
{
const char *comment_seq = GENERAL_COMMENT_CHARACTER;
undo_type action = UNCOMMENT;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment