From 915641a0451501b61a7d0b27897d47b052b50c66 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 --- xpcom/io/SpecialSystemDirectory.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xpcom/io/SpecialSystemDirectory.cpp b/xpcom/io/SpecialSystemDirectory.cpp index 0f157cc68da0..04602dfe15e2 100644 --- a/xpcom/io/SpecialSystemDirectory.cpp +++ b/xpcom/io/SpecialSystemDirectory.cpp @@ -767,7 +767,10 @@ GetSpecialSystemDirectory(SystemDirectories aSystemSystemDirectory, aFile); } #endif + default: + break; } + return NS_ERROR_NOT_AVAILABLE; } #if defined (XP_MACOSX)