[tracker-miners: 1/4] tracker-extract-mp3.c: Add break to default case



commit 312c3acda1db3e2346947534d307f82344db2336
Author: Sumaid Syed <sumaidsyed gmail com>
Date:   Thu Jun 6 18:42:42 2019 +0530

    tracker-extract-mp3.c: Add break to default case
    
    Add break to default cases of switch case matching with frames
    in get_id3v24_tags, get_id3v23_tags, get_id3v20_tags
    
    Part of https://gitlab.gnome.org/GNOME/tracker-miners/issues/68

 src/tracker-extract/tracker-extract-mp3.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/tracker-extract/tracker-extract-mp3.c b/src/tracker-extract/tracker-extract-mp3.c
index 0579ad53a..56706b2b2 100644
--- a/src/tracker-extract/tracker-extract-mp3.c
+++ b/src/tracker-extract/tracker-extract-mp3.c
@@ -1468,6 +1468,7 @@ get_id3v24_tags (id3v24frame           frame,
                        break;
                default:
                        g_free (word);
+                       break;
                }
        }
        }
@@ -1652,6 +1653,7 @@ get_id3v23_tags (id3v24frame           frame,
                        break;
                default:
                        g_free (word);
+                       break;
                }
        }
        }
@@ -1783,6 +1785,7 @@ get_id3v20_tags (id3v2frame            frame,
                        break;
                default:
                        g_free (word);
+                       break;
                }
        }
 }


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