Commit 34f4aeca authored by Carlos Garnacho's avatar Carlos Garnacho

Add comment in signal handlers to clear up that falling through in switch is on purpose.

parent 6a13da71
......@@ -139,6 +139,7 @@ signal_handler (int signo)
in_loop = TRUE;
g_main_loop_quit (main_loop);
/* Fall through */
default:
if (g_strsignal (signo)) {
g_print ("\n");
......
......@@ -201,6 +201,8 @@ signal_handler (int signo)
in_loop = TRUE;
disable_shutdown = FALSE;
quit_timeout_cb (NULL);
/* Fall through */
default:
if (g_strsignal (signo)) {
g_print ("\n");
......
......@@ -179,6 +179,7 @@ signal_handler (int signo)
in_loop = TRUE;
shutdown ();
/* Fall through */
default:
if (g_strsignal (signo)) {
g_print ("\n");
......
......@@ -135,6 +135,7 @@ signal_handler (int signo)
in_loop = TRUE;
g_main_loop_quit (main_loop);
/* Fall through */
default:
if (g_strsignal (signo)) {
g_print ("\n");
......
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