From 97e020fe5d9213d7350aa50ef5d1888c4e25d945 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 0f157cc68da..04602dfe15e 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)