From: Jeff Mitchell Date: Thu, 13 Nov 2008 19:19:39 +0000 (+0000) Subject: Add default case switch to fix compiler warnings when ASF or MP4 are not defined. X-Git-Tag: v1.6rc1~56 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1bcb9a6cc758cbb389b4a596fc5e179812be7ca7;p=taglib 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 --- 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;