From dcd7af88d8b276c6ab50dfbd738ad043ee82788e Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" Date: Sun, 25 May 2003 07:11:51 +0000 Subject: [PATCH] Bug 205609 control reaches end of non-void function GetSpecialSystemDirectory and lots of unhandled enumeration values r=dougt git-svn-id: svn://10.0.0.236/trunk@142899 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/io/SpecialSystemDirectory.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mozilla/xpcom/io/SpecialSystemDirectory.cpp b/mozilla/xpcom/io/SpecialSystemDirectory.cpp index 0f157cc68da..04602dfe15e 100644 --- a/mozilla/xpcom/io/SpecialSystemDirectory.cpp +++ b/mozilla/xpcom/io/SpecialSystemDirectory.cpp @@ -767,7 +767,10 @@ GetSpecialSystemDirectory(SystemDirectories aSystemSystemDirectory, aFile); } #endif + default: + break; } + return NS_ERROR_NOT_AVAILABLE; } #if defined (XP_MACOSX)