[perl-glib-object-introspection] Hush two compiler warnings by adding missing 'break' statements



commit 9a648b404e0fa8bd58e16bd4dbc8e7f7d0770756
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date:   Mon May 21 15:34:22 2018 +0200

    Hush two compiler warnings by adding missing 'break' statements

 gperl-i11n-marshal-struct.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gperl-i11n-marshal-struct.c b/gperl-i11n-marshal-struct.c
index 51c8298..44a4c74 100644
--- a/gperl-i11n-marshal-struct.c
+++ b/gperl-i11n-marshal-struct.c
@@ -81,6 +81,7 @@ struct_to_sv (GIBaseInfo* info,
 
            case GI_INFO_TYPE_UNION:
                ccroak ("%s: unions not handled yet", G_STRFUNC);
+               break;
 
            default:
                ccroak ("%s: unhandled info type %d", G_STRFUNC, info_type);
@@ -187,6 +188,7 @@ sv_to_struct (GITransfer transfer,
 
            case GI_INFO_TYPE_UNION:
                ccroak ("%s: unions not handled yet", G_STRFUNC);
+               break;
 
            default:
                ccroak ("%s: unhandled info type %d", G_STRFUNC, info_type);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]