From 1bcb9a6cc758cbb389b4a596fc5e179812be7ca7 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Thu, 13 Nov 2008 19:19:39 +0000 Subject: [PATCH] Add default case switch to fix compiler warnings when ASF or MP4 are not defined. git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@883884 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- bindings/c/tag_c.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bindings/c/tag_c.cpp b/bindings/c/tag_c.cpp index f5f17656..a3ea8530 100644 --- a/bindings/c/tag_c.cpp +++ b/bindings/c/tag_c.cpp @@ -94,6 +94,8 @@ TagLib_File *taglib_file_new_type(const char *filename, TagLib_File_Type type) case TagLib_File_ASF: return reinterpret_cast(new ASF::File(filename)); #endif + default: + return 0; } return 0;