From ae9babde80701fcea2b1cdcdb98ebee08aa7234e Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Thu, 26 Jun 2014 09:07:37 +0200 Subject: 'pMap' may be used uninitialized in this function. Change-Id: I4085801a773626824ddc5bc4fbca62240fcc171c --- desktop/source/lib/init.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'desktop') diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 0f72bd6fe0ea..3b163c5192ec 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -321,6 +321,7 @@ static int doc_saveAs(LibreOfficeKitDocument* pThis, const char* sUrl, const cha pMap = (const ExtensionMap*) aWriterExtensionMap; break; case LOK_DOCTYPE_OTHER: + default: return false; } -- cgit