]> granicus.if.org Git - neomutt/commitdiff
drop void returns
authorRichard Russon <rich@flatcap.org>
Wed, 25 Jul 2018 11:33:11 +0000 (12:33 +0100)
committerRichard Russon <rich@flatcap.org>
Wed, 25 Jul 2018 14:08:29 +0000 (15:08 +0100)
alias.c
buffy.c
keymap.c
pager.c
pop/pop_lib.c

diff --git a/alias.c b/alias.c
index aac05e8ff458044c11cc962f10dac89fb2348f73..d414584ddc8a982197a42a747a88c2bb08f8609b 100644 (file)
--- a/alias.c
+++ b/alias.c
@@ -512,7 +512,6 @@ retry_name:
 fseek_err:
   mutt_perror(_("Error seeking in alias file"));
   mutt_file_fclose(&rc);
-  return;
 }
 
 /**
diff --git a/buffy.c b/buffy.c
index e91d051dddf8520b05fabc016f0898afe8bfa064..50294b746355ed34bb11c77b6048dc844112a3a5 100644 (file)
--- a/buffy.c
+++ b/buffy.c
@@ -585,7 +585,6 @@ void mutt_update_mailbox(struct Buffy *b)
     b->size = (off_t) sb.st_size;
   else
     b->size = 0;
-  return;
 }
 
 /**
index 98997c31a58d1b64da89f870dd0bf0310ce75fc7..b4edbbcb6f31919478fa2f4bcb021b3f3395aa51 100644 (file)
--- a/keymap.c
+++ b/keymap.c
@@ -1071,7 +1071,6 @@ void km_error_key(int menu)
 
   km_expand_key(buf, sizeof(buf), key);
   mutt_error(_("Key is not bound.  Press '%s' for help."), buf);
-  return;
 }
 
 /**
diff --git a/pager.c b/pager.c
index d1c392c8299ba704f275e447a3c15643ae1215c3..5113c2d812ca9071448af92e0332dbd7e1bea57f 100644 (file)
--- a/pager.c
+++ b/pager.c
@@ -488,8 +488,6 @@ static void cleanup_quote(struct QClass **quote_list)
     FREE(quote_list);
     *quote_list = ptr;
   }
-
-  return;
 }
 
 /**
index 989b868d176299b2d15ab90151f47d4b1e23f8fc..4e8acf0270501932a51e016d5072816fd38a15c0 100644 (file)
@@ -447,7 +447,6 @@ void pop_logout(struct Context *ctx)
   }
 
   pop_data->status = POP_DISCONNECTED;
-  return;
 }
 
 /**