You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
1.7 KiB

  1. From ab0dc71822b3e769b4be2a990bc6c87347016cfd Mon Sep 17 00:00:00 2001
  2. From: Pierre-Hugues Husson <phh@archos.com>
  3. Date: Tue, 12 Sep 2017 17:42:46 +0200
  4. Subject: [PATCH] Makes gcc7 happy
  5. ---
  6. core/quasselc-connector.c | 7 +++++++
  7. 1 file changed, 7 insertions(+)
  8. diff --git a/core/quasselc-connector.c b/core/quasselc-connector.c
  9. index 77e8d7a..d28fa5e 100644
  10. --- a/core/quasselc-connector.c
  11. +++ b/core/quasselc-connector.c
  12. @@ -145,6 +145,7 @@ void handle_sync(void* irssi_arg, object_t o, function_t f, ...) {
  13. highlight=0;
  14. if(!fnc)
  15. fnc="MarkBufferAsRead";
  16. + /* Falls through */
  17. case Displayed:
  18. if(!fnc)
  19. fnc="BufferDisplayed";
  20. @@ -155,6 +156,7 @@ void handle_sync(void* irssi_arg, object_t o, function_t f, ...) {
  21. case Removed:
  22. if(!fnc)
  23. fnc="BufferRemoved";
  24. + /* Falls through */
  25. case TempRemoved:
  26. if(!fnc)
  27. fnc="BufferTempRemoved";
  28. @@ -210,6 +212,7 @@ void handle_sync(void* irssi_arg, object_t o, function_t f, ...) {
  29. case AddUserMode:
  30. if(!fnc)
  31. fnc="AddUserMode";
  32. + /* Falls through */
  33. case RemoveUserMode:
  34. if(!fnc)
  35. fnc="RemoveUserMode";
  36. @@ -223,6 +226,7 @@ void handle_sync(void* irssi_arg, object_t o, function_t f, ...) {
  37. case SetNick2:
  38. if(!fnc)
  39. fnc="SetNick";
  40. + /* Falls through */
  41. case Quit:
  42. if(!fnc)
  43. fnc="Quit";
  44. @@ -233,12 +237,15 @@ void handle_sync(void* irssi_arg, object_t o, function_t f, ...) {
  45. case SetNick:
  46. if(!fnc)
  47. fnc="SetNick";
  48. + /* Falls through */
  49. case SetServer:
  50. if(!fnc)
  51. fnc="SetServer";
  52. + /* Falls through */
  53. case SetRealName:
  54. if(!fnc)
  55. fnc="SetRealName";
  56. + /* Falls through */
  57. case PartChannel:
  58. if(!fnc)
  59. fnc="PartChannel";
  60. --
  61. 2.19.1